💬

Community answer

Collected from the ACE community Discord archive around 2023-11-23. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Use cpuMax() instead of hardcoded quota values

⚡ PerformanceUpdated 2 days ago•0 views
Call cpuMax() to get the actual per-realm CPU limit instead of hardcoding values like 0.006 - the limit varies by server config.

What value to use for CPU quota checks

Call cpuMax() to get the actual per-realm CPU limit instead of hardcoding values like 0.006 - the limit varies by server config.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.