Skip to content

Commit

Permalink
set concurrency level to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed Jan 7, 2021
1 parent fd2e75b commit 7c89f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
worker:
image: leishi1313/aurora-admin-backend:dev-latest
restart: always
command: bash -c "while !</dev/tcp/postgres/5432; do sleep 1; done; celery -A tasks worker -B --loglevel=INFO -Ofair -Q main-queue -c 5"
command: bash -c "while !</dev/tcp/postgres/5432; do sleep 1; done; celery -A tasks worker -B --loglevel=INFO -Ofair -Q main-queue -c 2"
environment:
ENABLE_SENTRY: 'yes'
DATABASE_URL: 'postgresql://aurora:AuroraAdminPanel321@postgres:5432/aurora'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
worker:
image: leishi1313/aurora-admin-backend:latest
restart: always
command: bash -c "while !</dev/tcp/postgres/5432; do sleep 1; done; celery -A tasks worker -B --loglevel=INFO -Ofair -Q main-queue -c 5"
command: bash -c "while !</dev/tcp/postgres/5432; do sleep 1; done; celery -A tasks worker -B --loglevel=INFO -Ofair -Q main-queue -c 2"
environment:
ENABLE_SENTRY: 'yes'
DATABASE_URL: 'postgresql://aurora:AuroraAdminPanel321@postgres:5432/aurora'
Expand Down

0 comments on commit 7c89f63

Please sign in to comment.