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:
@@ -4014,4 +4014,6 @@ async def ui_run_partial(run_id: str, request: Request):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import uvicorn
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user