Tazi0 / esx_invest

ESX invest, invest into companies
GNU General Public License v3.0
14 stars 20 forks source link

Optimize SQL Querys #9

Open benzon opened 4 years ago

benzon commented 4 years ago

Just had a quick glance on the script it self.

And you need to look in to your MySQL querys you use Sync everywhere, that is a very very bad habbit and causes very bad performance, you should use Async, since it waits for the db to be rdy, and dont lock up until it gets the reply you want.

Tazi0 commented 4 years ago

might be a good idea ye