0
0
instrumental/app/lib
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
* 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
2017-05-05 02:23:01 +02:00
..
settings Add extended about page stub 2017-01-13 03:24:41 +01:00
application_extension.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
atom_serializer.rb Improve bio compatibility (#2278) 2017-04-22 03:33:24 +02:00
exceptions.rb Add check for visibility.nil? even though it can't ever be, to check for race conditions 2017-04-03 22:54:46 +02:00
feed_manager.rb Remove order prior to .find_in_batches (#1470) 2017-04-11 00:38:34 +02:00
formatter.rb Hotfix remote status formatting (#2543) 2017-04-27 23:37:22 +02:00
hash_object.rb Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings 2017-01-12 20:46:24 +01:00
inline_rabl_scope.rb Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods, 2017-04-04 13:01:14 +02:00
inline_renderer.rb Replace calls to FeedManager#inline_render and #broadcast 2017-04-05 19:45:18 +02:00
language_detector.rb Language improvements, replace whatlanguage with CLD (#2753) 2017-05-03 16:59:31 +02:00
provider_discovery.rb Fix broken oEmbed provider (#2537) 2017-04-27 19:29:11 +02:00
sanitize_config.rb Add target=_blank to user note (#2622) 2017-04-30 00:28:41 +02:00
tag_manager.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
user_settings_decorator.rb Clean up settings/preferences controller (#2237) 2017-04-21 03:26:52 +02:00
webfinger_resource.rb Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351) 2017-04-23 14:19:54 +02:00