File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
firebase-messaging/src/main/java/com/google/firebase/messaging Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ class GmsRpc {
58
58
/** Another server error besides ERROR_SERVICE_NOT_AVAILABLE that we retry on. */
59
59
static final String ERROR_INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR" ;
60
60
61
- /** A server error that represents hitting topic subscription quota. Trying again here may
61
+ /**
62
+ * A server error that represents hitting topic subscription quota. Trying again here may
62
63
* continue to fail, but as long as we use exponential backoff its okay to retry.
63
64
*/
64
65
static final String TOO_MANY_SUBSCRIBERS = "TOO_MANY_SUBSCRIBERS" ;
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ boolean performTopicOperation(TopicOperation topicOperation) throws IOException
252
252
// Operation failed, retry failed only if errors from backend are server related error
253
253
if (GmsRpc .ERROR_SERVICE_NOT_AVAILABLE .equals (e .getMessage ())
254
254
|| GmsRpc .ERROR_INTERNAL_SERVER_ERROR .equals (e .getMessage ())
255
- || GmsRpc .TOO_MANY_SUBSCRIBERS .equals (e .getMessage ())) {
255
+ || GmsRpc .TOO_MANY_SUBSCRIBERS .equals (e .getMessage ())) {
256
256
Log .e (TAG , "Topic operation failed: " + e .getMessage () + ". Will retry Topic operation." );
257
257
258
258
return false ; // will retry
You can’t perform that action at this time.
0 commit comments