Skip to content

Retry on some FCM v1 errors occur. #71

@fujiwara

Description

@fujiwara

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions