avoid using deprecated call
This commit is contained in:
parent
adf54e6788
commit
978bfb231f
|
@ -65,7 +65,7 @@ class Container(object):
|
|||
readers.append(c)
|
||||
if c.has_output > 0:
|
||||
writers.append(c)
|
||||
if c.next_tick:
|
||||
if c.deadline:
|
||||
heapq.heappush(timer_heap, (c.next_tick, c))
|
||||
timers = []
|
||||
while timer_heap:
|
||||
|
|
Loading…
Reference in New Issue