mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
we cant to challenge worker timeout here.
This commit is contained in:
parent
b281ec002b
commit
d07009a12f
@ -12,7 +12,7 @@ class TestIter(object):
|
|||||||
lines = ['line 1', 'line 2']
|
lines = ['line 1', 'line 2']
|
||||||
for line in lines:
|
for line in lines:
|
||||||
yield line
|
yield line
|
||||||
time.sleep(10)
|
time.sleep(20)
|
||||||
|
|
||||||
def app(environ, start_response):
|
def app(environ, start_response):
|
||||||
"""Application which cooperatively pauses 10 seconds before responding"""
|
"""Application which cooperatively pauses 10 seconds before responding"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user