Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e64bff

Browse filesBrowse files
authored
Prevent "[CRITICAL] WORKER TIMEOUT" error message (GoogleCloudPlatform#3229)
1 parent 7bc4783 commit 9e64bff
Copy full SHA for 9e64bff

File tree

Expand file treeCollapse file tree

5 files changed

+5
-6
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+5
-6
lines changed

‎run/hello-broken/Dockerfile

Copy file name to clipboardExpand all lines: run/hello-broken/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ COPY . .
3434
# Use gunicorn webserver with one worker process and 8 threads.
3535
# For environments with multiple CPU cores, increase the number of workers
3636
# to be equal to the cores available.
37-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app
37+
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
3838

3939
# [END run_broken_dockerfile]

‎run/image-processing/Dockerfile

Copy file name to clipboardExpand all lines: run/image-processing/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ COPY . ./
4242
# Use gunicorn webserver with one worker process and 8 threads.
4343
# For environments with multiple CPU cores, increase the number of workers
4444
# to be equal to the cores available.
45-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app
45+
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app

‎run/logging-manual/Dockerfile

Copy file name to clipboardExpand all lines: run/logging-manual/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ COPY . .
3232
# Use gunicorn webserver with one worker process and 8 threads.
3333
# For environments with multiple CPU cores, increase the number of workers
3434
# to be equal to the cores available.
35-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app
35+
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app

‎run/pubsub/Dockerfile

Copy file name to clipboardExpand all lines: run/pubsub/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ COPY . ./
3434
# Use gunicorn webserver with one worker process and 8 threads.
3535
# For environments with multiple CPU cores, increase the number of workers
3636
# to be equal to the cores available.
37-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app
37+
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
3838

3939
# [END run_pubsub_dockerfile]

‎run/system-package/Dockerfile

Copy file name to clipboardExpand all lines: run/system-package/Dockerfile
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ COPY . .
3838
# Use gunicorn webserver with one worker process and 8 threads.
3939
# For environments with multiple CPU cores, increase the number of workers
4040
# to be equal to the cores available.
41-
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app
42-
41+
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.