Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ _load_average
Function
_load_average
celery/utils/sysinfo.py:204–205 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
202
if
hasattr(os,
'getloadavg'
):
203
204
def
_load_average() -> tuple[float, ...]:
205
return
tuple(ceil(l * 1e2) / 1e2
for
l in os.getloadavg())
206
207
else
:
# pragma: no cover
208
# Windows doesn't have getloadavg
Callers
1
load_average
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected