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/workers
ThibG f1f96ebf02
Fix being able to import more than allowed number of follows (#15384)
* Fix being able to import more than allowed number of follows

Without this commit, if someone tries importing a second list of accounts to
follow before the first one has been processed, this will queue imports for
the two whole lists, even if they exceed the account's allowed number of
outgoing follows.

This commit changes it so the individual queued imports aren't exempt from
the follow limit check (they remain exempt from the rate-limiting check
though).

* Catch validation errors to not re-queue failed follows

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
..
activitypub Add follower synchronization mechanism (#14510) 4 years ago
admin Change account suspensions to be reversible by default (#14726) 4 years ago
concerns Improved remote thread fetching (#10106) 6 years ago
import Fix being able to import more than allowed number of follows (#15384) 4 years ago
scheduler Improve account deletion performances further (#15407) 4 years ago
web Fix web push subscriptions being deleted on rate limit or timeout (#11826) 5 years ago
account_deletion_worker.rb Fix AccountDeletionWorker crashing and clogging sidekiq queues (#15380) 4 years ago
account_merging_worker.rb Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364) 4 years ago
after_account_domain_block_worker.rb Fix domain hiding logic (#7765) 7 years ago
after_unallow_domain_worker.rb Fix removing allowed domains being done synchronously (#14302) 5 years ago
authorize_follow_worker.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
backup_worker.rb Change local media attachments to perform heavy processing asynchronously (#13210) 5 years ago
block_worker.rb Add conversations API (#8832) 6 years ago
bootstrap_timeline_worker.rb Default follows for new users (#4871) 7 years ago
cache_buster_worker.rb Add cache buster feature for media files (#15155) 4 years ago
delete_mute_worker.rb Add duration parameter to muting. (#13831) 4 years ago
digest_mailer_worker.rb Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252) 7 years ago
distribution_worker.rb Avoid race condition when streaming deleted statuses (#10280) 6 years ago
domain_block_worker.rb Make domain block/silence/reject-media code more robust (#13424) 5 years ago
domain_clear_media_worker.rb Make domain block/silence/reject-media code more robust (#13424) 5 years ago
feed_insert_worker.rb Add option to be notified when a followed user posts (#13546) 4 years ago
fetch_reply_worker.rb Improved remote thread fetching (#10106) 6 years ago
import_worker.rb Add option to overwrite imported data (#9962) 6 years ago
link_crawl_worker.rb Improve error handling on LinkCrawlWorker (#5250) 7 years ago
local_notification_worker.rb Add option to be notified when a followed user posts (#13546) 4 years ago
merge_worker.rb Refactor feed manager (#14761) 4 years ago
move_worker.rb Change move handler to carry blocks over (#14144) 5 years ago
mute_worker.rb Refactor feed manager (#14761) 4 years ago
poll_expiration_notify_worker.rb Fix poll ending notifications being created for each vote (#15071) 4 years ago
post_process_media_worker.rb Add color extraction for audio thumbnails (#14209) 5 years ago
publish_announcement_reaction_worker.rb Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191) 5 years ago
publish_scheduled_announcement_worker.rb Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191) 5 years ago
publish_scheduled_status_worker.rb Fix background jobs not using locks like they are supposed to (#13361) 5 years ago
push_conversation_worker.rb Add E2EE API (#13820) 5 years ago
push_encrypted_message_worker.rb Add E2EE API (#13820) 5 years ago
push_update_worker.rb Lists (#5703) 7 years ago
redownload_media_worker.rb Add customizable thumbnails for audio and video attachments (#14145) 5 years ago
refollow_worker.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
regeneration_worker.rb Fix background jobs not using locks like they are supposed to (#13361) 5 years ago
removal_worker.rb Add soft delete for statuses for instant deletes through API (#11623) 5 years ago
resolve_account_worker.rb Fix background jobs not using locks like they are supposed to (#13361) 5 years ago
thread_resolve_worker.rb Improved remote thread fetching (#10106) 6 years ago
unfavourite_worker.rb Improve background jobs params and error handling 8 years ago
unfollow_follow_worker.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
unmerge_worker.rb Refactor feed manager (#14761) 4 years ago
unpublish_announcement_worker.rb Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191) 5 years ago
verify_account_links_worker.rb Fix background jobs not using locks like they are supposed to (#13361) 5 years ago