Gunfish doesn't retry when some FCM v1 errors occur.
When FCM returns INTERNAL or UNAVAILABLE error, it should be retried.
https://firebase.google.com/docs/cloud-messaging/http-server-ref?hl=ja#error-codes
{
"file": "/home/runner/work/Gunfish/Gunfish/supervisor.go",
"level": "error",
"line": "432",
"msg": "Unknown error message: INTERNAL",
"res_queue_size": 0,
"resend_cnt": 0,
"resp_uid": "6d9db339-bcdf-4db5-9b64-14b671e978ec",
"response_time": 5.047958725,
"time": "2024-03-26T13:07:19Z",
"token": "xxx",
"type": "worker",
"worker_id": 61
}
Gunfish doesn't retry when some FCM v1 errors occur.
When FCM returns
INTERNALorUNAVAILABLEerror, it should be retried.https://firebase.google.com/docs/cloud-messaging/http-server-ref?hl=ja#error-codes
{ "file": "/home/runner/work/Gunfish/Gunfish/supervisor.go", "level": "error", "line": "432", "msg": "Unknown error message: INTERNAL", "res_queue_size": 0, "resend_cnt": 0, "resp_uid": "6d9db339-bcdf-4db5-9b64-14b671e978ec", "response_time": 5.047958725, "time": "2024-03-26T13:07:19Z", "token": "xxx", "type": "worker", "worker_id": 61 }