mastodon/spec/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>
2020-12-26 23:52:46 +01:00
..
activitypub Add follower synchronization mechanism (#14510) 2020-10-21 18:04:09 +02:00
scheduler Fix various warnings in rspec (#14729) 2020-09-04 20:22:26 +02:00
digest_mailer_worker_spec.rb
domain_block_worker_spec.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
domain_clear_media_worker_spec.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
feed_insert_worker_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
move_worker_spec.rb Change move handler to carry blocks over (#14144) 2020-07-01 13:51:15 +02:00
publish_scheduled_status_worker_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
refollow_worker_spec.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
regeneration_worker_spec.rb
unfollow_follow_worker_spec.rb Fix various issues with account migration (#12301) 2019-11-07 09:05:07 +02:00