mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
ca66152f45
Three issues caused periodic worker saturation: 1. Network section pinged 5 private LAN IPs (10.48.200.x) unreachable from DO — each failed after 1s timeout = 5s wasted per run. Replaced with a fast DB query on registered_agents. 2. pve_api_get() had no CURLOPT_CONNECTTIMEOUT — added 3s limit so unreachable Proxmox fails fast instead of blocking the full 8s. 3. Ollama curl timeout reduced from 5s→3s total, added 2s connect limit. Cron interpreter also changed from lsphp85 to php8.3 in crontab (done directly on server) — lsphp85 adds ~8s LSAPI startup overhead and consumes a PHP worker slot; php8.3 runs standalone. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>