|
|
@@ -474,8 +474,7 @@ class Server(object): |
|
|
|
# Shutdowns normally wait for clients to disconnect. To speed |
|
|
|
# up tests, set fast_shutdown = True |
|
|
|
if fast_shutdown: |
|
|
|
# Setting timeout to 0 triggers os._exit(70) at shutdown, grr... |
|
|
|
cherrypy.server.shutdown_timeout = 0.01 |
|
|
|
cherrypy.server.shutdown_timeout = 0 |
|
|
|
else: |
|
|
|
cherrypy.server.shutdown_timeout = 5 |
|
|
|
|
|
|
|