cron-style jobs ActiveRecord::RecordNotUnique log level
#1614
-
|
Hi all We use about 30 cron-style scheduled jobs and have multiple processes running, each in a separate docker container. We now face the issue that we get a considerable amount of exceptions logged with level ERROR due to the locking feature for the enqueueing of the cron-style jobs, which is a good feature per se as it ensures only one job is enqueued at the specific time but on the other hand we get complaints from the monitoring that we have logs with severity ERROR all the time. The errors are Is there any way to treat these errors separately? Or is this not even within GoodJob? Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Forever I've thought that this was something unfortunate to live with... but looking at the error message you shared, it seems to me like the cause is bubbling an exception up though the AS Instrumentation for |
Beta Was this translation helpful? Give feedback.
Released if you want to give it a try: https://github.com/bensheldon/good_job/releases/tag/v4.9.2