View Single Post
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-21-2019 , 02:58   Re: client_disconnected() <-> plugin_end()
Reply With Quote #11

The only things you can do at this point are:
  1. Get a faster MySQL server/closer to your game server for faster queries
  2. Re-design plugin logic to not require saving upon disconnect
  3. Improve the query to update multiple rows at once (so on server_changelevel() you would build a big query to save everything, and then don't do any queries on client_disconnected() calls that follow
__________________
hleV is offline