You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/models
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
8 years ago
..
concerns Fix Rubocop offences (#2630) 8 years ago
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 8 years ago
web annotate models (#2697) 8 years ago
account.rb More robust PuSH subscription refreshes (#2799) 8 years ago
account_filter.rb Admin accounts controller cleanup (#1664) 8 years ago
application_record.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 8 years ago
block.rb annotate models (#2697) 8 years ago
domain_block.rb annotate models (#2697) 8 years ago
export.rb Settings export refactor (#1646) 8 years ago
favourite.rb annotate models (#2697) 8 years ago
feed.rb Only call regeneration worker after first login after a 14 day break 8 years ago
follow.rb annotate models (#2697) 8 years ago
follow_request.rb annotate models (#2697) 8 years ago
import.rb annotate models (#2697) 8 years ago
media_attachment.rb annotate models (#2697) 8 years ago
mention.rb annotate models (#2697) 8 years ago
mute.rb annotate models (#2697) 8 years ago
notification.rb annotate models (#2697) 8 years ago
preview_card.rb annotate models (#2697) 8 years ago
remote_follow.rb Coverage for remote follows (#2694) 8 years ago
report.rb annotate models (#2697) 8 years ago
report_filter.rb Admin reports with accounts (#2092) 8 years ago
setting.rb annotate models (#2697) 8 years ago
status.rb annotate models (#2697) 8 years ago
stream_entry.rb annotate models (#2697) 8 years ago
subscription.rb Fix subscription expiration condition (#2715) 8 years ago
tag.rb annotate models (#2697) 8 years ago
user.rb Add option to disable two factor auth in admin accounts panel. (#2584) 8 years ago
web.rb Add extended about page stub 8 years ago