mirror of https://github.com/zulip/zulip.git
gcm: Increase retries to 10 while pushing.
This commit is contained in:
parent
38ecc35cd9
commit
bc15085098
|
@ -243,7 +243,7 @@ def send_android_push_notification(devices, data, remote=False):
|
|||
DeviceTokenClass = PushDeviceToken
|
||||
|
||||
try:
|
||||
res = gcm.json_request(registration_ids=reg_ids, data=data)
|
||||
res = gcm.json_request(registration_ids=reg_ids, data=data, retries=10)
|
||||
except IOError as e:
|
||||
logging.warning(str(e))
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue