Skip to content
Snippets Groups Projects
  1. Jan 05, 2018
  2. Sep 24, 2017
  3. Sep 14, 2017
    • abcang's avatar
      Revert unique retry job (#4937) · 1aad015b
      abcang authored
      * Revert "Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)"
      
      This reverts commit 6859d4c0.
      
      * Revert "Do not execute the job with the same arguments as the retry job (#4814)"
      
      This reverts commit be7ffa2d.
      1aad015b
  4. Sep 05, 2017
  5. Jul 28, 2017
  6. Jul 26, 2017
  7. Jul 10, 2017
    • Eugen Rochko's avatar
      Limit total subscribe retries to 10, but space them out more (#4142) · 34ccc058
      Eugen Rochko authored
      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
      34ccc058
  8. May 06, 2017
  9. May 05, 2017
    • Eugen Rochko's avatar
      More robust PuSH subscription refreshes (#2799) · 81584779
      Eugen Rochko authored
      * Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron
      
      Fix an issue where / in domain would raise exception in TagManager#normalize_domain
      
      PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
      server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
      also #2613). Optimize Account#with_followers scope. Also, since subscriptions
      are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
      refreshing operation halfway through
      
      Fix #2702 - Correct user agent header on outgoing http requests
      
      * Add test for SubscribeService
      
      * Extract #expiring_accounts into method
      
      * Make mastodon:push:refresh no-op
      
      * Queues are now defined in sidekiq.yml
      
      * Queues are now in sidekiq.yml
      81584779
Loading