Merge "Sleep between deferred requests on paused handler"
This commit is contained in:
commit
6d61644f07
@ -238,6 +238,7 @@ class PoolWorker(threading.Thread, stats.StatsReporter):
|
|||||||
|
|
||||||
if self.paused_handlers and not reasons_to_decline:
|
if self.paused_handlers and not reasons_to_decline:
|
||||||
self.log.debug("Handler is paused, deferring request")
|
self.log.debug("Handler is paused, deferring request")
|
||||||
|
time.sleep(0.25)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# At this point, we are either unpaused, or we know we
|
# At this point, we are either unpaused, or we know we
|
||||||
|
Loading…
x
Reference in New Issue
Block a user