feat: event eco
This commit is contained in:
@@ -202,7 +202,9 @@ def startup():
|
||||
except Exception as _e:
|
||||
print(f"[Startup] FXStreet purge skipped: {_e}", flush=True)
|
||||
|
||||
# Calendar sync loop — FF only (live JSON + HTML scraper); interval from calendar_refresh_h config (default 6h)
|
||||
# Calendar sync loop — FF live JSON every calendar_refresh_h (default 6h); the FF HTML
|
||||
# scraper (heavier, one FlareSolverr browser fetch per week) is throttled separately
|
||||
# inside calendar_sync() via calendar_scrape_refresh_h (default 24h, once/day)
|
||||
import threading, time as _time
|
||||
def _calendar_sync_loop():
|
||||
_time.sleep(60) # let server fully boot
|
||||
|
||||
Reference in New Issue
Block a user