Merge pull request #726 from supreme0597/fix/worker-auto-reload

fix(docker): worker 使用 watchfiles 替代 arq 以优化热重载
This commit is contained in:
Wenjie Zhang 2026-05-25 20:26:47 +08:00 committed by GitHub
commit b25509c03e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ services:
- .env
environment:
<<: *api-worker-env
command: uv run --no-dev arq server.worker_main.WorkerSettings
command: watchfiles --filter python "arq server.worker_main.WorkerSettings" /app/server /app/package
restart: unless-stopped
depends_on:
postgres: