• 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
..
concerns Loading commit data...
form Loading commit data...
web Loading commit data...
account.rb Loading commit data...
account_filter.rb Loading commit data...
application_record.rb Loading commit data...
block.rb Loading commit data...
domain_block.rb Loading commit data...
export.rb Loading commit data...
favourite.rb Loading commit data...
feed.rb Loading commit data...
follow.rb Loading commit data...
follow_request.rb Loading commit data...
import.rb Loading commit data...
media_attachment.rb Loading commit data...
mention.rb Loading commit data...
mute.rb Loading commit data...
notification.rb Loading commit data...
preview_card.rb Loading commit data...
remote_follow.rb Loading commit data...
report.rb Loading commit data...
report_filter.rb Loading commit data...
setting.rb Loading commit data...
status.rb Loading commit data...
stream_entry.rb Loading commit data...
subscription.rb Loading commit data...
tag.rb Loading commit data...
user.rb Loading commit data...
web.rb Loading commit data...