• 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
..
account_search_service_spec.rb Loading commit data...
authorize_follow_service_spec.rb Loading commit data...
block_domain_service_spec.rb Loading commit data...
block_service_spec.rb Loading commit data...
fan_out_on_write_service_spec.rb Loading commit data...
favourite_service_spec.rb Loading commit data...
fetch_atom_service_spec.rb Loading commit data...
fetch_link_card_service_spec.rb Loading commit data...
fetch_remote_account_service_spec.rb Loading commit data...
fetch_remote_status_service_spec.rb Loading commit data...
follow_remote_account_service_spec.rb Loading commit data...
follow_service_spec.rb Loading commit data...
mute_service_spec.rb Loading commit data...
post_status_service_spec.rb Loading commit data...
precompute_feed_service_spec.rb Loading commit data...
process_feed_service_spec.rb Loading commit data...
process_interaction_service_spec.rb Loading commit data...
process_mentions_service_spec.rb Loading commit data...
reblog_service_spec.rb Loading commit data...
reject_follow_service_spec.rb Loading commit data...
send_interaction_service_spec.rb Loading commit data...
subscribe_service_spec.rb Loading commit data...
suspend_account_service_spec.rb Loading commit data...
unblock_service_spec.rb Loading commit data...
unfollow_service_spec.rb Loading commit data...
unmute_service_spec.rb Loading commit data...
update_remote_profile_service_spec.rb Loading commit data...