Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PLT-396: Add gevent pooler #148

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ services:
- MODULE_NAME=process_file.app
- KAFKA_BOOTSTRAP_SERVERS=kafka:9093
- C_FORCE_ROOT=true # needed when using pickle serializer in celery + running as root - remove when we dont run as root
- LOG_LEVEL=INFO
- EXECUTION_POOL=gevent
command:
'sh -c "cd tasks && poetry run celery -A $$MODULE_NAME worker --loglevel=info"'
'sh -c "cd tasks && poetry run celery -A $$MODULE_NAME worker --pool=$$EXECUTION_POOL --concurrency=10 --loglevel=$$LOG_LEVEL --events"'
redis:
image: redis:alpine
ports:
Expand Down
Loading
Loading