perf: celery use solo pool (single process) to cut memory
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
bf76c506eb
commit
7d465a1e05
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ services:
|
||||
office-xbot-celery:
|
||||
container_name: office-xbot-celery
|
||||
image: "${APP_IMAGE}"
|
||||
command: "celery -A app.make_celery worker -B --loglevel INFO --concurrency=2"
|
||||
command: "celery -A app.make_celery worker -B --loglevel INFO --pool=solo"
|
||||
environment:
|
||||
- APP_ID=${APP_ID}
|
||||
- APP_SECRET=${APP_SECRET}
|
||||
|
||||
Reference in new issue
Block a user