summaryrefslogtreecommitdiff
path: root/waitress/task.py
diff options
context:
space:
mode:
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