forked from p15670423/monkey
Timeout of joining set to 5 seconds. No use of waiting for another thread to stop. We can run our program while the thread stops
This commit is contained in:
parent
40957f865c
commit
3f8d63c2d9
|
@ -210,7 +210,7 @@ class LockedHTTPServer(threading.Thread):
|
||||||
|
|
||||||
self._stopped = True
|
self._stopped = True
|
||||||
|
|
||||||
def stop(self, timeout=60):
|
def stop(self, timeout=5):
|
||||||
self._stopped = True
|
self._stopped = True
|
||||||
self.join(timeout)
|
self.join(timeout)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue