Hi! My Hobby team “pantrucas-projects” was paused for exceeding the included Fluid Active CPU (12 h used against the 4 h/month included).
Project: surebets-polymarket-ma3o.vercel.app
I already identified the root cause and fixed it in code (committed, ready to deploy as soon as the account is resumed):
- My market-matching function was running regexes over raw text for every one of ~1M market pairs per run. I moved that work to a single precompute per market. Measured on a 1000x500 corpus: 556 ms → 13 ms per run (43x less CPU).
- A cron was calling /api/detect every 3 minutes (14,400 runs/month). I lowered it to every 15 minutes (2,880 runs/month).
- The dashboard auto-refreshed every 30 s even in hidden tabs, causing roughly 86,000 unnecessary SSR renders per month. It now stops when the tab is not
visible and refreshes every 120 s. - I removed an entire background stage that made ~20 extra HTTPS calls per run.
Estimated usage after the fixes: under 1 CPU-hour/month (~20% of the included 4 h). I understand repeated overages are not acceptable, and I’ll watch the Usage panel closely over the first days after resuming.
Could you please unpause the account? Thanks a lot!