EvolSoft / ServerAuth

An advanced authentication plugin for PocketMine-MP
MIT License
56 stars 40 forks source link

my server lags on /register #133

Closed SuperKali closed 6 years ago

SuperKali commented 7 years ago

The server stops for a moment and after a while it resumes running

VCraftMCPE commented 7 years ago

it doesnt happen to me

inxomnyaa commented 7 years ago

https://github.com/EvolSoft/ServerAuth/blob/master/ServerAuth/src/ServerAuth/ServerAuth.php#L627 try to put print time(); before and after this line and register again. If the difference between the timestamps is huge the connection to the database is slow.

TheDiamondYT1 commented 7 years ago

I wish i could fix this but i don't have a 64 bit PHP binary for Android :(

SuperKali commented 7 years ago

i dont use database i use yaml

Flavius12 commented 6 years ago

A better user cache system will come with ServerAuth v3.0 update!