1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 14:58:38 +09:00
YuruToot/config
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
..
environments More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
initializers Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
locales Persian translation update (#2788) 2017-05-04 18:32:05 +02:00
webpack Enable disableHostCheck option of webpack-dev-server (#2790) 2017-05-04 17:49:05 +02:00
application.rb Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
boot.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
database.yml Added support parallel_tests (#2740) 2017-05-03 12:20:38 +02:00
deploy.rb capistrano: link robots.txt (#1576) 2017-04-19 14:28:23 +02:00
environment.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
i18n-tasks.yml Localize 'throttled' (#2755) 2017-05-03 23:36:19 +02:00
navigation.rb Replace best_in_place editor on admin settings page (#2789) 2017-05-04 18:12:44 +02:00
puma.rb Do not set port for puma if it is bound to unix socket (#2289) 2017-04-22 01:22:20 +02:00
routes.rb Replace best_in_place editor on admin settings page (#2789) 2017-05-04 18:12:44 +02:00
secrets.yml Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
settings.yml Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
sidekiq.yml More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00