summaryrefslogtreecommitdiff
path: root/waitress/task.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-04-02 21:54:29 -0500
committerMichael Merickel <michael@merickel.org>2019-04-02 22:29:42 -0500
commitc083d0b7a645fe75c6a0ab0393be844cf2caf046 (patch)
tree3432b6287e3a18114d4158015ed74baf4d8c86ad /waitress/task.py
parent34af957c1472aca30650f75698da467ca037d8f1 (diff)
downloadwaitress-queue-depth-warnings.tar.gz
get rid of JustTesting hookqueue-depth-warnings
Diffstat (limited to 'waitress/task.py')
-rw-r--r--waitress/task.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/waitress/task.py b/waitress/task.py
index f0372aa..a252de5 100644
--- a/waitress/task.py
+++ b/waitress/task.py
@@ -47,9 +47,6 @@ hop_by_hop = frozenset((
))
-class JustTesting(Exception):
- pass
-
ThreadIdle = 1
ThreadBusy = 2
@@ -90,8 +87,6 @@ class ThreadedTaskDispatcher(object):
except Exception as e:
self.logger.exception(
'Exception when servicing %r' % task)
- if isinstance(e, JustTesting):
- break
finally:
with self.queue_lock:
self.stop_count -= 1