We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6088ad6 + e287f02 commit bc4dc5bCopy full SHA for bc4dc5b
spns/notifiers/firebase.py
@@ -7,7 +7,6 @@
7
8
import firebase_admin
9
from firebase_admin import messaging
10
-from firebase_admin.exceptions import *
11
12
import oxenc
13
from oxenmq import OxenMQ, Message, Address, AuthLevel
@@ -92,7 +91,7 @@ def send_pending():
92
91
93
i = 0
94
while i < len(queue):
95
- results = messaging.send_all(messages=queue[i : i + MAX_NOTIFIES], app=firebase_app)
+ results = messaging.send_each(messages=queue[i : i + MAX_NOTIFIES], app=firebase_app)
96
with stats.lock:
97
stats.notifies += min(len(queue) - i, MAX_NOTIFIES)
98
0 commit comments