mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
The job panel warned "Worker unavailable" when the worker's last heartbeat was more than 60 s older than the browser's clock: a browser set two minutes ahead warned about a worker that had just beaten, and one behind hid a worker that had stopped. The server now says whether the worker is gone (worker_gone in the job panel's answer), by the same rule as the Jobs page. A host's CPU graph measured its averaging window with time.time(): a clock set back between two polls gave a negative window. It now uses time.monotonic(), as a VM's usage already does; a sample from before the server restarted is measured over a second again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea |
||
|---|---|---|
| .. | ||
| js | ||
| __init__.py | ||
| fakes.py | ||
| proc_kinds.py | ||
| test_api.py | ||
| test_claims.py | ||
| test_conf.py | ||
| test_hold.py | ||
| test_kinds.py | ||
| test_models.py | ||
| test_panel_js.py | ||
| test_processes.py | ||
| test_public_error.py | ||
| test_recovery.py | ||
| test_redact.py | ||
| test_service.py | ||
| test_views.py | ||
| test_worker.py | ||