akkoma/lib/pleroma/workers
Oneric 195042bdc9 receiver_worker: prevent duplicate jobs
E.g. \*oma federates (most) follower-only posts multiple times
to each personal inbox. This commonly leads to race conditions
with jobs of several copies running at the same time and getting
past the initial "already known" check but then later all but
one will crash with an exception from the unique db index.

Since the only special thing we do with copies anyway is to discard them,
just don't create such duplicate jobs in the first place.
For the same reason and since failed jobs don't count towards
duplicates, this should have virtually no effect on federation.
2025-03-18 03:46:33 +01:00
..
cron Prune old Update activities 2024-02-17 16:57:40 +01:00
attachments_cleanup_worker.ex Delay attachment deletion 2025-01-03 20:49:11 +01:00
background_worker.ex Spin off imports into n oban jobs 2022-11-27 21:45:41 +00:00
backup_worker.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
mailer_worker.ex elixir 1.18 formatting 2025-03-02 11:54:00 +00:00
mute_expire_worker.ex elixir 1.18 formatting 2025-03-02 11:54:00 +00:00
nodeinfo_fetcher_worker.ex Don't enqueue a plethora of unnecessary NodeInfoFetcher jobs 2025-01-07 20:27:27 +01:00
poll_worker.ex PollWorker defensive checks 2021-07-18 11:10:22 -05:00
publisher_worker.ex elixir 1.18 formatting 2025-03-02 11:54:00 +00:00
purge_expired_activity.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
purge_expired_filter.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
purge_expired_token.ex and i yoink (#275) 2022-11-14 15:07:26 +00:00
receiver_worker.ex receiver_worker: prevent duplicate jobs 2025-03-18 03:46:33 +01:00
remote_fetcher_worker.ex only consider :op and :id args in duplicate checks 2024-04-19 11:39:27 +01:00
rich_media_expiration_worker.ex RichMedia refactor 2024-06-09 17:33:48 +01:00
scheduled_activity_worker.ex fix for scheduled post with poll 2021-02-01 18:22:26 +03:00
search_indexing_worker.ex Don't create noop SearchIndexingWorker jobs for passive index 2025-01-07 20:27:27 +01:00
web_pusher_worker.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
worker_helper.ex workers: make custom filtering ahead of enqueue possible 2025-01-07 20:27:27 +01:00