SQL <-> AMXX Behaviour Question
Simple question:
If there is a connection made to an SQL server (by AMXX) but internet is slooow, lets say it requires 5 seconds, and 3 seconds after that connection started, another connection, for retrieving another players data, is being made, will this second connection be ruined by the dbi_close from the first data-retrieval? If yes, then I already have an idea on how to fix that, if not, then "Hooray!". I am sorry if this has been asked one million times until now, but I did not find thread about this during my search. I am also sorry if this does not perfectly fit into this Topic - well, the fix would be about scripting, at least. Thanks in advance. |
Re: SQL <-> AMXX Behaviour Question
Well...
You have two options: 1. You can make pernament connection, that you open the connection at plugin_init, and closes it at plugin_end PS: Might be useful to re-open the connection every 200sec, or the server will drop you 2. You can make something like: PHP Code:
|
Re: SQL <-> AMXX Behaviour Question
Thats just the Idea I had. ^^
|
| All times are GMT -4. The time now is 06:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.