1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-20 00:08:37 +00:00
Commit graph

6 commits

Author SHA1 Message Date
Jeong Arm fed7380e9f
Prevent use locale with empty string ()
Somehow user's locale could be an empty string, And empty string itself
are treated as true value.
2022-05-28 14:32:08 +02:00
Eugen Rochko 120965eb0b
Change Web Push API deliveries to use request pooling () 2021-04-12 14:25:34 +02:00
Eugen Rochko e8703c281e
Fix web push subscriptions being deleted on rate limit or timeout () 2019-09-13 19:15:47 +02:00
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.
2019-07-12 18:46:21 +02:00
Eugen Rochko 628da11e38
Do no retry web push workers if the server returns a 4xx response ()
Add timeout of 10s to web push requests
2018-12-17 03:14:13 +01:00
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)
2018-05-11 11:49:12 +02:00