Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions hazelcast/reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys
import threading
import time
from Queue import PriorityQueue
from Queue import PriorityQueue, Empty
from collections import deque

from hazelcast.connection import Connection, BUFFER_SIZE
Expand Down Expand Up @@ -55,7 +55,10 @@ def _check_timers(self):
return

if timer.check_timer(now):
self._timers.get_nowait()
try:
self._timers.get_nowait()
except Empty:
pass
else:
return

Expand Down