|
@@ -453,7 +453,8 @@ class Consumer(object):
|
|
|
|
|
|
# fire any ready timers, this also returns
|
|
|
# the number of seconds until we need to fire timers again.
|
|
|
- poll_timeout = fire_timers(propagate=errors) if scheduled else 1
|
|
|
+ poll_timeout = (fire_timers(propagate=errors) if scheduled
|
|
|
+ else 1)
|
|
|
|
|
|
# We only update QoS when there is no more messages to read.
|
|
|
# This groups together qos calls, and makes sure that remote
|