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.
 

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

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.9k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.