1.0.5
parent
c334711675
commit
a09c725a03
|
|
@ -87,7 +87,6 @@ async def lifespan(app: FastAPI):
|
||||||
await preheat_all_caches()
|
await preheat_all_caches()
|
||||||
|
|
||||||
# Start Scheduler (use Redis lock to ensure only one instance runs across multiple workers)
|
# Start Scheduler (use Redis lock to ensure only one instance runs across multiple workers)
|
||||||
from app.services.cache import redis_cache
|
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
scheduler_lock_key = "scheduler:lock"
|
scheduler_lock_key = "scheduler:lock"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue