gcm: Increase retries to 10 while pushing.

This commit is contained in:
Umair Khan 2017-05-17 13:00:23 +05:00 committed by Tim Abbott
parent 38ecc35cd9
commit bc15085098
1 changed files with 1 additions and 1 deletions

View File

@ -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