Remote mysql database queries from sp causing lag in csgo

Please post any questions about developing your plugin here. Please use the search function before posting!
Josh
Junior Member
Posts: 2
Joined: Wed May 25, 2016 7:36 am

Remote mysql database queries from sp causing lag in csgo

Postby Josh » Wed May 25, 2016 7:48 am

Any ideas or examples of how to remedy this? It would be appreciated.


Josh
User avatar
Ayuto
Project Leader
Posts: 2209
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Remote mysql database queries from sp causing lag in csgo

Postby Ayuto » Wed May 25, 2016 8:04 am

You could use the GameThread class and run your queries in a separate thread.
https://github.com/Source-Python-Dev-Te ... ick.py#L50
Josh
Junior Member
Posts: 2
Joined: Wed May 25, 2016 7:36 am

Re: Remote mysql database queries from sp causing lag in csgo

Postby Josh » Fri May 27, 2016 12:27 am

Thanks a lot Ayuto, the support given to this project is very good.

Return to “Plugin Development Support”

Who is online

Users browsing this forum: Bing [Bot] and 63 guests