Greetings
Since last "Tugboat" Update the plugin seems to need a little bit more serverperformance:
144 "Vehicle Decay Protection" (2.4.0) by WhiteThunder (1053.47s)
1053 Seconds during 8h ontime of the server ?
Anyone else have same experience?
Greetings
Since last "Tugboat" Update the plugin seems to need a little bit more serverperformance:
144 "Vehicle Decay Protection" (2.4.0) by WhiteThunder (1053.47s)
1053 Seconds during 8h ontime of the server ?
Anyone else have same experience?
https://umod.org/community/vehicle-decay-protection/49734-heavy-load-on-the-server
Since there have been 2 reports of this, I just investigated and found that the plugin had a hook time accounting issue. There wasn't an actual performance issue. This has been fixed in the latest version.
Here is a deeper explanation if you are interested. Normally, plugins use hooks to run their code. Oxide automatically tracks the time spent while running hooks. However, some plugins run some of their code outside of Oxide hooks, as this plugin does, which causes Oxide to be unaware of the time spent running that code. In such cases, it's a good practice for the plugin to count the time itself and report to report that to Oxide, to inform server owners about performance. The most convenient way is for the plugin to simply call the TrackStart() and TrackEnd() functions surrounding the code to be executed. The issue was, with some new Tugboat-related code, TrackStart was being called, but TrackEnd was not, so after certain checks were run, the plugin would continue to accrue hook time close to real time.
Thx for quick response.
Makes sense.