mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Blueprint registration and database init run synchronously (essential for routing). Process cleanup, database cleanup scheduling, and TLE satellite updates are deferred to a background thread with a 1-second delay so the gevent worker can start serving HTTP requests right away. Previously all init ran synchronously during module import, blocking the single gevent worker for minutes while TLE data was fetched from CelesTrak. Also removes duplicate TLE update — init_tle_auto_refresh() already schedules its own background fetch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 KiB
40 KiB