Skip to content

Commit

Permalink
fixup! Make request handling threads daemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Aug 13, 2014
1 parent 4dabe8c commit 20c1b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wptserve/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class WebTestServer(ThreadingMixIn, BaseHTTPServer.HTTPServer):
allow_reuse_address = True
acceptable_errors = (errno.EPIPE, errno.ECONNABORTED)

# Ensure that we don't hang on shotdown waiting for requests
# Ensure that we don't hang on shutdown waiting for requests
daemon_threads = True

def __init__(self, server_address, RequestHandlerClass, router, rewriter, bind_hostname, config=None,
Expand Down

0 comments on commit 20c1b1d

Please sign in to comment.