diff options
author | Michael Merickel <michael@merickel.org> | 2019-04-02 21:54:29 -0500 |
---|---|---|
committer | Michael Merickel <michael@merickel.org> | 2019-04-02 22:29:42 -0500 |
commit | c083d0b7a645fe75c6a0ab0393be844cf2caf046 (patch) | |
tree | 3432b6287e3a18114d4158015ed74baf4d8c86ad /waitress/task.py | |
parent | 34af957c1472aca30650f75698da467ca037d8f1 (diff) | |
download | waitress-queue-depth-warnings.tar.gz |
get rid of JustTesting hookqueue-depth-warnings
Diffstat (limited to 'waitress/task.py')
-rw-r--r-- | waitress/task.py | 5 |
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 |