iachat/app/jobs
Pranav Raj S 29106ebc4b
fix: raise_lock_acquisition_error if the job cannot set the lock (#8744)
Consider a scenario where two jobs are concurrently accessing a job with a lock mechanism. If the second job accesses lock_manager.locked? before the first job called lock_manager.lock(lock_key), it would return a false positive. At this point, both jobs can be executed freely.

To address this issue, the following change ensures that only the current thread that has set the lock can execute. Otherwise, a LockAcquisitionError will be thrown.

Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2024-01-19 14:31:41 +04:00
..
account feat: Contact Exports (#7258) 2023-06-13 09:18:43 +05:30
agent_bots chore: Reorganize Sidekiq Queues (#6976) 2023-05-04 15:44:16 +05:30
agents chore: Reorganize Sidekiq Queues (#6976) 2023-05-04 15:44:16 +05:30
avatar chore: Reorganize Sidekiq Queues (#6976) 2023-05-04 15:44:16 +05:30
campaigns chore: one off SMS campaign APIs (#2589) 2021-07-14 12:24:09 +05:30
channels/whatsapp chore: Improve Whatsapp Templates Sync (#7210) 2023-05-29 22:23:22 +05:30
conversations chore: Update MarkMessagesAsReadJob to accept delivered status (#8319) 2023-11-08 13:44:57 -08:00
inboxes fix: Update the message-id check to use messageId parsing from mail gem (#8743) 2024-01-19 14:29:04 +04:00
internal chore: Update self-hosted billing redirect (#8580) 2023-12-18 16:34:47 -08:00
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
migration chore(migration): Re-run database migration job for caching. (#8581) 2023-12-18 17:29:02 -08:00
notification feat: Add a job to clear notifications that were created before 1 month (#8732) 2024-01-19 13:03:23 +05:30
webhooks feat: Facebook delivery reports (#8136) 2023-11-20 12:22:45 +05:30
action_cable_broadcast_job.rb chore: Reorganize Sidekiq Queues (#6976) 2023-05-04 15:44:16 +05:30
application_job.rb chore: Improve active job error logs for deserialization error (#8742) 2024-01-18 19:27:18 +04:00
bulk_actions_job.rb fix: Added "None" option in bulk actions assignment menu (#5585) 2022-10-11 13:44:35 -07:00
contact_ip_lookup_job.rb feat(poc): Disable widget based on country (#6658) 2023-03-14 09:09:57 -07:00
data_import_job.rb fix: Handle Contact import MalformedCSVError (#8706) 2024-01-18 13:05:58 +05:30
delete_object_job.rb fix: capture user and ip details on Inbox delete (#7395) 2023-06-27 19:49:24 +05:30
event_dispatcher_job.rb chore: Reorganize Sidekiq Queues (#6976) 2023-05-04 15:44:16 +05:30
hook_job.rb feat: Update the slack integration-flow to allow users to select the channel (#7637) 2023-07-28 14:50:30 -07:00
macros_execution_job.rb feat: Execute macro actions, for the conversation (#5066) 2022-07-26 12:41:22 +05:30
mutex_application_job.rb fix: raise_lock_acquisition_error if the job cannot set the lock (#8744) 2024-01-19 14:31:41 +04:00
send_on_slack_job.rb feat: set lock timeout to 1 second (#8661) 2024-01-12 08:28:07 +05:30
send_reply_job.rb chore: Provider APIs for SMS Channel - Bandwidth (#3889) 2022-02-03 15:22:13 -08:00
slack_unfurl_job.rb feat: Support link unfurling for all the channels within the same connected channel account. (#8033) 2023-10-08 17:55:03 +05:30
trigger_scheduled_items_job.rb feat: Add a job to clear notifications that were created before 1 month (#8732) 2024-01-19 13:03:23 +05:30
webhook_job.rb feat: Mark the messages as failed if the API channel webhooks fail for any reason. (#8277) 2023-11-04 12:26:28 +05:30