Skip to content

Commit

Permalink
Increase timeout and workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Mar 11, 2022
1 parent b5fa098 commit ba6444c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ RUN pip install --no-cache-dir -r /usr/local/src/pfcon/requirements/$ENVIRONMENT
COPY . .
RUN if [ "$ENVIRONMENT" = "local" ]; then pip install -e .; else pip install .; fi

# Start pfcon production server
EXPOSE 5005
CMD ["gunicorn", "-w", "5", "-b", "0.0.0.0:5005", "-t", "200", "pfcon.wsgi:application"]
CMD ["gunicorn", "--bind", "0.0.0.0:5005", "--workers", "8", "--timeout", "3600", "pfcon.wsgi:application"]

0 comments on commit ba6444c

Please sign in to comment.