You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
The stats being updated at the end of the round is causing my server to lag. It seems that the longer the server goes without a map change the more lag there is to the point where it looks like the server is crashing for 5+ seconds. The code I am referring to is sv_stats.lua#L150 After commenting out the hook/function the server does not lag anymore after a round ends.
Are there any lua errors in the console?
No
Are you using a beta branch of GarrysMod? (No, prerelease, dev)
No
What version of TTT Spectator Deathmatch do you use? (e.g. Workshop, GitHub master, GitHub stable release)
Github master from 05/28/2018
The text was updated successfully, but these errors were encountered:
There is about 40 or so players on normally. Our sv.db file is quite large as well running at 900mbs.
I do not know where the lag starts exactly I just know it progressively gets worse without a map change. If I were to guess, I would say it is updating everyone that has ever been in deathmatch during the current map even if they weren't in deathmatch when the round ended.
I can test it out and get back to you in a few hours.
What happened?
The stats being updated at the end of the round is causing my server to lag. It seems that the longer the server goes without a map change the more lag there is to the point where it looks like the server is crashing for 5+ seconds. The code I am referring to is sv_stats.lua#L150 After commenting out the hook/function the server does not lag anymore after a round ends.
Are there any lua errors in the console?
No
Are you using a beta branch of GarrysMod? (No, prerelease, dev)
No
What version of TTT Spectator Deathmatch do you use? (e.g. Workshop, GitHub master, GitHub stable release)
Github master from 05/28/2018
The text was updated successfully, but these errors were encountered: