diff --git a/eventlet/hubs/hub.py b/eventlet/hubs/hub.py index 211e55b..0eb68bb 100644 --- a/eventlet/hubs/hub.py +++ b/eventlet/hubs/hub.py @@ -301,5 +301,5 @@ class BaseHub(object): return self.excs def get_timers_count(hub): - return max(len(x) for x in [hub.timers, hub.timers_by_greenlet.items(), hub.next_timers]) + return max(len(x) for x in [hub.timers, hub.next_timers])