Add background catalog cache refresh to health check loop
Resolves #1 — the health checker now refreshes catalog cache for all online Evotor connections when cache is missing or older than CATALOG_REFRESH_INTERVAL_SECONDS (default: 3600s). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@ class Settings(BaseSettings):
|
||||
EVOTOR_WEBHOOK_SECRET: str = ""
|
||||
|
||||
HEALTH_CHECK_INTERVAL_SECONDS: int = 600
|
||||
CATALOG_REFRESH_INTERVAL_SECONDS: int = 3600
|
||||
|
||||
VK_CLIENT_ID: str = ""
|
||||
VK_CLIENT_SECRET: str = ""
|
||||
|
||||
Reference in New Issue
Block a user