• 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
Name
Last commit
Last update
app Loading commit data...
bin Loading commit data...
config Loading commit data...
db Loading commit data...
docs Loading commit data...
lib Loading commit data...
log Loading commit data...
public Loading commit data...
spec Loading commit data...
storybook Loading commit data...
streaming Loading commit data...
vendor/assets Loading commit data...
.babelrc Loading commit data...
.buildpacks Loading commit data...
.codeclimate.yml Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.env.production.sample Loading commit data...
.env.test Loading commit data...
.env.vagrant Loading commit data...
.eslintignore Loading commit data...
.eslintrc.json Loading commit data...
.foreman Loading commit data...
.gitignore Loading commit data...
.nvmrc Loading commit data...
.postcssrc.yml Loading commit data...
.rspec Loading commit data...
.rubocop.yml Loading commit data...
.ruby-version Loading commit data...
.slugignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
Capfile Loading commit data...
Dockerfile Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
Procfile Loading commit data...
Procfile.dev Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
Vagrantfile Loading commit data...
app.json Loading commit data...
config.ru Loading commit data...
docker-compose.yml Loading commit data...
package.json Loading commit data...
scalingo.json Loading commit data...
yarn.lock Loading commit data...