1
0
Fork 0
forked from fedi/mastodon
mastodon/app
Eugen Rochko 34ccc058fa Limit total subscribe retries to 10, but space them out more (#4142)
Since there is little point in retrying so often when a service is down
or does not exist anymore. Subscriptions are renewed 1 day before they
should expire, so retrying in 30 minutes, then 2 hours, then 12 hours
is fine. If even after that, the remote server does not work, there is
little sense in retrying more often than once a day

Also, uniqueness of the job should ensure that failed retries will
not result in multiple retries for the same endpoint when the next
resubscription cycle comes
2017-07-10 18:04:23 +02:00
..
controllers Add Japanese translation of terms and flash (#4137) 2017-07-10 14:04:05 +02:00
helpers Togglable filter links (#4021) 2017-07-07 00:48:09 +02:00
javascript i18n: @63baab0 (pl) (#4141) 2017-07-10 18:04:06 +02:00
lib Add setting a always mark media as sensitive (#4136) 2017-07-10 14:00:32 +02:00
mailers Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00
models Add setting a always mark media as sensitive (#4136) 2017-07-10 14:00:32 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Replace OEmbed and initial state Rabl templates with serializers (#4110) 2017-07-08 14:51:05 +02:00
serializers Add setting a always mark media as sensitive (#4136) 2017-07-10 14:00:32 +02:00
services Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138) 2017-07-10 13:59:29 +02:00
validators Fix character/grapheme count stuff (#3839) 2017-06-19 11:31:14 +02:00
views Add setting a always mark media as sensitive (#4136) 2017-07-10 14:00:32 +02:00
workers Limit total subscribe retries to 10, but space them out more (#4142) 2017-07-10 18:04:23 +02:00