Commit Graph

4 Commits (c31c95ffe4fbf80981a0ee03484d72ee6d75d2ee)

Author SHA1 Message Date
Eugen Rochko e8703c281e
Fix web push subscriptions being deleted on rate limit or timeout ()
han@highemelry 402302776c Change the retry limit in error of web push notification ()
- Change the maximum count of retry for web push notification (Default -> 5).
   - In case of high load of subscribe server, the retries will be repeated many times.
   - Because the retries occupy the default queue, maximum retry count should be reduced.
Eugen Rochko 628da11e38
Do no retry web push workers if the server returns a 4xx response ()
Add timeout of 10s to web push requests
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions ()
- POST /api/v1/push/subscription
- PUT /api/v1/push/subscription
- DELETE /api/v1/push/subscription
- New OAuth scope: "push" (required for the above methods)