Remove workers from L1 - causes cache inconsistency

With multiple workers, each process has its own in-memory cache index.
Files added by one worker aren't visible to others, causing intermittent
404 errors.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-09 04:02:51 +00:00
parent 83244aaa05
commit 6fc3562d22

View File

@@ -4014,4 +4014,6 @@ async def ui_run_partial(run_id: str, request: Request):
if __name__ == "__main__":
import uvicorn
uvicorn.run("server:app", host="0.0.0.0", port=8100, workers=4)
# Note: workers disabled because cache_manager uses in-memory state
# that isn't shared between worker processes
uvicorn.run("server:app", host="0.0.0.0", port=8100)