iachat/app
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
..
actions fix: Stop overwritting contact avatars unneccesarily (#8710) 2024-01-16 16:38:46 +04:00
assets feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
builders feat: use short_summary for downloading reports [CW-2962] (#8733) 2024-01-18 16:06:13 +05:30
channels chore: Sentry issues (#4623) 2022-05-06 14:50:55 +05:30
controllers feat: Updates branding logo and name in public portal footer (#8745) 2024-01-19 13:37:24 +04:00
dashboards feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
dispatchers Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
drops feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
fields feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
finders chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
helpers refactor: remove exception tracker (#8737) 2024-01-18 17:49:27 +05:30
javascript feat: Show notification last active time instead of created time (#8724) 2024-01-18 09:41:53 +05:30
jobs fix: raise_lock_acquisition_error if the job cannot set the lock (#8744) 2024-01-19 14:31:41 +04:00
listeners chore: Get all notification API improvments (#8549) 2024-01-17 09:02:18 +05:30
mailboxes chore: Update the error message to the correct one (#8646) 2024-01-11 17:38:38 -08:00
mailers fix: Handle Contact import MalformedCSVError (#8706) 2024-01-18 13:05:58 +05:30
models fix: validate url for Dashboard Apps [CW-2979] (#8736) 2024-01-18 17:48:30 +05:30
policies feat: trigger handoff when agent bot is the actor (#8639) 2024-01-05 15:26:52 -08:00
presenters feat: Add inbox webhook events (#8006) 2023-09-28 15:28:10 -07:00
services feat: log errors on automation filter (#8702) 2024-01-16 16:13:57 +05:30
views feat: Updates branding logo and name in public portal footer (#8745) 2024-01-19 13:37:24 +04:00
workers fix: Update auto reply and hide reply time for email inbox (#3985) 2022-02-15 17:11:28 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30