Skip to content

Commit

Permalink
it hangs on local env with only 1 worker
Browse files Browse the repository at this point in the history
  • Loading branch information
FuhuXia committed Jan 12, 2024
1 parent 493fa42 commit dd26c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/server_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DIR="$(dirname "${BASH_SOURCE[0]}")"
# start xloader
exec ckan jobs worker &
# Fire it up!
exec newrelic-admin run-program gunicorn "wsgi:application" --config "$DIR/gunicorn.conf.py" -b "0.0.0.0:$PORT" --chdir $DIR --timeout 120 --forwarded-allow-ips='*'
exec newrelic-admin run-program gunicorn "wsgi:application" --config "$DIR/gunicorn.conf.py" -b "0.0.0.0:$PORT" --chdir $DIR --timeout 120 --workers 2 --forwarded-allow-ips='*'

0 comments on commit dd26c38

Please sign in to comment.