Jump to content

Calling 'OnSendModelState' on 'AdvancedStatus v0.1.11' took average 1271ms

Closed 0.1.11 0.1.12

WouayNote2
WouayNote2

Posted

Hello IIIaKa,

I wonder if you can enhance the performances of that hook.
Following message spammed in my logs is not a healthy sign...
And as far as I know, I cannot change anything by my side in order to prevent it.

Calling 'OnSendModelState' on 'AdvancedStatus v0.1.11' took average 1271ms

I already had that kind of message with another plug-in and it was a cause of huge and permanent server lag.

Maybe there is something to do in the InitCountBars method.
Maybe it could be acceptable to reduce the frequency of the computation (with a config option).
It seems that calling CountStatusBar is the main cause of that warning.
By my side, with only 12 players online, that method is called 90 times per second.

Regards,
WouayNote.
 

  • Like 1
IIIaKa

Posted

Hello, thank you for the suggestion. Please try downloading version 0.1.12.

IIIaKa

Posted

Changed Fixed In to 0.1.12

IIIaKa

Posted

Changed Status from Pending to Closed

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.4k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.