Skip to content

Commit

Permalink
FIXED: Error while sending multicast without 'enhanced'. Fixed by put…
Browse files Browse the repository at this point in the history
…ting self._sent_notifications initialization outside self.enhanced in GatewayConnection class
  • Loading branch information
KartikeyaRokde committed Nov 25, 2015
1 parent cd9c70f commit 1842c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apns.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def __init__(self, use_sandbox=False, **kwargs):
self._error_response_handler_worker = None
self._response_listener = None

self._sent_notifications = collections.deque(maxlen=SENT_BUFFER_QTY)
self._sent_notifications = collections.deque(maxlen=SENT_BUFFER_QTY)

def _init_error_response_handler_worker(self):
self._send_lock = threading.RLock()
Expand Down

0 comments on commit 1842c40

Please sign in to comment.