mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-09 00:15:05 +00:00
9a19227f17
* Fix Delete and Create-related locks expiring too fast Fixes #16238 By default, RedisLock expires after 10 seconds, which may not be enough to process statuses, especially when those have attached media files. This commit extends those 10 seconds to 15 minutes, which should be plenty enough to handle any status, while being short enough to not waste many sidekiq job retries in the exceedingly rare case in which a sidekiq process would crash when processing a `Create` or `Delete`. * Fix other RedisLock autorelease durations Fixes #15645 - things that only perform a few simple database queries (e.g. finding and saving a record) have been left unchanged, so they'll still use the default 10s duration - things that perform significantly more complex database queries have been changed to a 5 minutes timeout - things that perform multiple HTTP queries have been changed to a 15 minutes timeout |
||
---|---|---|
.. | ||
activitypub | ||
admin | ||
concerns | ||
import | ||
scheduler | ||
web | ||
account_deletion_worker.rb | ||
account_merging_worker.rb | ||
after_account_domain_block_worker.rb | ||
after_unallow_domain_worker.rb | ||
authorize_follow_worker.rb | ||
backup_worker.rb | ||
block_worker.rb | ||
bootstrap_timeline_worker.rb | ||
cache_buster_worker.rb | ||
delete_mute_worker.rb | ||
digest_mailer_worker.rb | ||
distribution_worker.rb | ||
domain_block_worker.rb | ||
domain_clear_media_worker.rb | ||
feed_insert_worker.rb | ||
fetch_reply_worker.rb | ||
import_worker.rb | ||
link_crawl_worker.rb | ||
local_notification_worker.rb | ||
merge_worker.rb | ||
move_worker.rb | ||
mute_worker.rb | ||
poll_expiration_notify_worker.rb | ||
post_process_media_worker.rb | ||
publish_announcement_reaction_worker.rb | ||
publish_scheduled_announcement_worker.rb | ||
publish_scheduled_status_worker.rb | ||
push_conversation_worker.rb | ||
push_encrypted_message_worker.rb | ||
push_update_worker.rb | ||
redownload_avatar_worker.rb | ||
redownload_header_worker.rb | ||
redownload_media_worker.rb | ||
refollow_worker.rb | ||
regeneration_worker.rb | ||
removal_worker.rb | ||
resolve_account_worker.rb | ||
thread_resolve_worker.rb | ||
unfavourite_worker.rb | ||
unfollow_follow_worker.rb | ||
unmerge_worker.rb | ||
unpublish_announcement_worker.rb | ||
verify_account_links_worker.rb |