Skip to content

Commit

Permalink
chore: update cloud run script (GoogleCloudPlatform#10491)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamborski authored Aug 2, 2023
1 parent 4cbfb59 commit fe75ea9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions run/filesystem/gcsfuse_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@ echo "Mounting completed."
# For environments with multiple CPU cores, increase the number of workers
# to be equal to the cores available.
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app &

# Exit immediately when one of the background processes terminate.
wait -n
exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
# [END cloudrun_fuse_script]

0 comments on commit fe75ea9

Please sign in to comment.