26.12.2012, 21:46
I figured, let's say we have a public function and it takes 200ms to run, so the gamemode/filterscript thread will freeze over 200ms.
So for example: 20 players execute 20 commands, 5 of them are from homes and take around 500ms, 10 of them are simple commands and takes 100ms, the other 5 will be with database connection and take 300ms, then the total would 5000ms then the gamemode thread would freeze during 5000ms, which would be 5 seconds.
Sorry for my bad English.
So for example: 20 players execute 20 commands, 5 of them are from homes and take around 500ms, 10 of them are simple commands and takes 100ms, the other 5 will be with database connection and take 300ms, then the total would 5000ms then the gamemode thread would freeze during 5000ms, which would be 5 seconds.
Sorry for my bad English.