Skip to content

Commit

Permalink
test 4 workers
Browse files Browse the repository at this point in the history
  • Loading branch information
djstrong authored Jan 2, 2024
1 parent 97cfe53 commit 3aeadf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ RUN python3 generator/namehash_common/generate_cache.py

HEALTHCHECK --interval=60s --start-period=60s --retries=3 CMD python3 healthcheck.py

CMD python3 generator/download_names.py && gunicorn web_api:app --bind 0.0.0.0 --workers 8 --timeout 120 --preload --worker-class uvicorn.workers.UvicornWorker
CMD python3 generator/download_names.py && gunicorn web_api:app --bind 0.0.0.0 --workers 4 --timeout 120 --preload --worker-class uvicorn.workers.UvicornWorker

0 comments on commit 3aeadf3

Please sign in to comment.