hlds - sql
I have a plugin installed on the server that stores data in a mysql database
The problem is that the latency between the sql and the hlds is about 150ms and every time the server gets data from the sql the server hangs How can I avoid this? A bypass or something :| |
Re: hlds - sql
Use SQL_ThreadQuery to get data from your mysql database.
http://www.amxmodx.org/funcwiki.php?go=func&id=1100 |
Re: hlds - sql
I am already using that.
|
Re: hlds - sql
I don't think so. If you use it correctly, then it will never cause lag.
|
Re: hlds - sql
Quote:
|
Re: hlds - sql
As far as I know, only one query can be handled at the same time, so even if you execute SQL_ThreadQuery many times in one second, it will not cause lag (queries will queue up), but it will take some time before you get results for all of them.
|
| All times are GMT -4. The time now is 07:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.