ExampleJob

Очередь исполнения
default
Приоритет
10
Успешно
Параметры
"error_five_times"
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:57:04.618892834Z",
  "scheduled_at": "2024-11-14T07:07:34.746477377Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "2875aba1-299a-44df-8f66-c2416b938017",
    "queue_name": "default",
    "priority": 10,
    "scheduled_at": "2024-11-14 07:07:34 UTC",
    "performed_at": "2024-11-14 07:07:34 UTC",
    "finished_at": "2024-11-14 07:07:34 UTC",
    "error": null,
    "created_at": "2024-11-14 06:57:04 UTC",
    "updated_at": "2024-11-14 07:07:34 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "concurrency_key": null,
    "cron_key": "frequent_example",
    "retried_good_job_id": null,
    "cron_at": "2024-11-14 06:50:34 UTC",
    "batch_id": null,
    "batch_callback_id": null,
    "is_discrete": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Выполнение заданий
17мс в очереди
22мс время выполнения
Успешно
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:57:04.618892834Z",
  "scheduled_at": "2024-11-14T07:07:34.746477377Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job_execution": {
    "id": "bbb9ca4f-e87b-4e01-8523-f7636c9f54ba",
    "created_at": "2024-11-14 07:07:34 UTC",
    "updated_at": "2024-11-14 07:07:34 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 07:07:34 UTC",
    "finished_at": "2024-11-14 07:07:34 UTC",
    "error": null,
    "error_event": null,
    "error_backtrace": null,
    "process_id": "7633ed75-a41a-424b-8315-cd8a305c6342",
    "duration": "0.022444"
  }
}
127мс в очереди
46мс время выполнения
Отменено
Ошибка: ExampleJob::ExpectedError: Executed 5 times.
app/jobs/example_job.rb:39:in `perform'
/app/demo/app/jobs/example_job.rb:39:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:275:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 4,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:52:37.549140694Z",
  "scheduled_at": "2024-11-14T06:57:04.462637780Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 4
  },
  "_good_job_execution": {
    "id": "005e9b42-7d4d-4708-9847-2b9947980a0a",
    "created_at": "2024-11-14 06:57:04 UTC",
    "updated_at": "2024-11-14 06:57:04 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 06:57:04 UTC",
    "finished_at": "2024-11-14 06:57:04 UTC",
    "error": "ExampleJob::ExpectedError: Executed 5 times.",
    "error_event": "retried",
    "error_backtrace": [
      "/app/demo/app/jobs/example_job.rb:39:in `perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'",
      "/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
      "/app/lib/good_job/current_thread.rb:113:in `within'",
      "/app/app/models/good_job/job.rb:562:in `block in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/app/models/good_job/batch.rb:80:in `within_thread'",
      "/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/app/models/good_job/job.rb:556:in `perform'",
      "/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
      "/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
      "/app/lib/good_job/job_performer.rb:35:in `block in next'",
      "/app/lib/good_job/capsule_tracker.rb:94:in `register'",
      "/app/lib/good_job/job_performer.rb:34:in `next'",
      "/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/lib/good_job/scheduler.rb:275:in `block in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
      "<internal:kernel>:187:in `loop'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
    ],
    "process_id": "7633ed75-a41a-424b-8315-cd8a305c6342",
    "duration": "0.046345"
  }
}
14мс в очереди
61мс время выполнения
Отменено
Ошибка: ExampleJob::ExpectedError: Executed 4 times.
app/jobs/example_job.rb:39:in `perform'
/app/demo/app/jobs/example_job.rb:39:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:275:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 3,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:51:03.404613806Z",
  "scheduled_at": "2024-11-14T06:52:37.504227180Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 3
  },
  "_good_job_execution": {
    "id": "ef54e4d2-5cb0-4d60-a99c-4d388c383366",
    "created_at": "2024-11-14 06:52:37 UTC",
    "updated_at": "2024-11-14 06:52:37 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 06:52:37 UTC",
    "finished_at": "2024-11-14 06:52:37 UTC",
    "error": "ExampleJob::ExpectedError: Executed 4 times.",
    "error_event": "retried",
    "error_backtrace": [
      "/app/demo/app/jobs/example_job.rb:39:in `perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'",
      "/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
      "/app/lib/good_job/current_thread.rb:113:in `within'",
      "/app/app/models/good_job/job.rb:562:in `block in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/app/models/good_job/batch.rb:80:in `within_thread'",
      "/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/app/models/good_job/job.rb:556:in `perform'",
      "/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
      "/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
      "/app/lib/good_job/job_performer.rb:35:in `block in next'",
      "/app/lib/good_job/capsule_tracker.rb:94:in `register'",
      "/app/lib/good_job/job_performer.rb:34:in `next'",
      "/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/lib/good_job/scheduler.rb:275:in `block in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
      "<internal:kernel>:187:in `loop'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
    ],
    "process_id": "7633ed75-a41a-424b-8315-cd8a305c6342",
    "duration": "0.061234"
  }
}
26мс в очереди
65мс время выполнения
Отменено
Ошибка: ExampleJob::ExpectedError: Executed 3 times.
app/jobs/example_job.rb:39:in `perform'
/app/demo/app/jobs/example_job.rb:39:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:275:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:50:44.014466973Z",
  "scheduled_at": "2024-11-14T06:51:03.346947144Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 2
  },
  "_good_job_execution": {
    "id": "efe2696f-04e7-472e-9d58-0decbfb36da9",
    "created_at": "2024-11-14 06:51:03 UTC",
    "updated_at": "2024-11-14 06:51:03 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 06:51:03 UTC",
    "finished_at": "2024-11-14 06:51:03 UTC",
    "error": "ExampleJob::ExpectedError: Executed 3 times.",
    "error_event": "retried",
    "error_backtrace": [
      "/app/demo/app/jobs/example_job.rb:39:in `perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'",
      "/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
      "/app/lib/good_job/current_thread.rb:113:in `within'",
      "/app/app/models/good_job/job.rb:562:in `block in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/app/models/good_job/batch.rb:80:in `within_thread'",
      "/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/app/models/good_job/job.rb:556:in `perform'",
      "/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
      "/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
      "/app/lib/good_job/job_performer.rb:35:in `block in next'",
      "/app/lib/good_job/capsule_tracker.rb:94:in `register'",
      "/app/lib/good_job/job_performer.rb:34:in `next'",
      "/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/lib/good_job/scheduler.rb:275:in `block in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
      "<internal:kernel>:187:in `loop'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
    ],
    "process_id": "ce9ea9b9-3a1f-409c-8867-55a9ee9ba8f7",
    "duration": "0.065467"
  }
}
51мс в очереди
46мс время выполнения
Отменено
Ошибка: ExampleJob::ExpectedError: Executed 2 times.
app/jobs/example_job.rb:39:in `perform'
/app/demo/app/jobs/example_job.rb:39:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:275:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:50:40.882229252Z",
  "scheduled_at": "2024-11-14T06:50:43.941804824Z",
  "provider_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job_execution": {
    "id": "81a5f1c7-3cee-4100-989a-157c7ab5b601",
    "created_at": "2024-11-14 06:50:43 UTC",
    "updated_at": "2024-11-14 06:50:44 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 06:50:43 UTC",
    "finished_at": "2024-11-14 06:50:44 UTC",
    "error": "ExampleJob::ExpectedError: Executed 2 times.",
    "error_event": "retried",
    "error_backtrace": [
      "/app/demo/app/jobs/example_job.rb:39:in `perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'",
      "/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
      "/app/lib/good_job/current_thread.rb:113:in `within'",
      "/app/app/models/good_job/job.rb:562:in `block in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/app/models/good_job/batch.rb:80:in `within_thread'",
      "/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/app/models/good_job/job.rb:556:in `perform'",
      "/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
      "/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
      "/app/lib/good_job/job_performer.rb:35:in `block in next'",
      "/app/lib/good_job/capsule_tracker.rb:94:in `register'",
      "/app/lib/good_job/job_performer.rb:34:in `next'",
      "/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/lib/good_job/scheduler.rb:275:in `block in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
      "<internal:kernel>:187:in `loop'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
    ],
    "process_id": "ce9ea9b9-3a1f-409c-8867-55a9ee9ba8f7",
    "duration": "0.046953"
  }
}
1,7s в очереди
44мс время выполнения
Отменено
Ошибка: ExampleJob::ExpectedError: Executed 1 time.
app/jobs/example_job.rb:39:in `perform'
/app/demo/app/jobs/example_job.rb:39:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:275:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
  "job_id": "2875aba1-299a-44df-8f66-c2416b938017",
  "locale": "en",
  "priority": 10,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-14T06:50:39.063960938Z",
  "scheduled_at": "2024-11-14T06:50:39.063732609Z",
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job_execution": {
    "id": "05dd014c-cc1e-4545-8b78-1807a2aad525",
    "created_at": "2024-11-14 06:50:40 UTC",
    "updated_at": "2024-11-14 06:50:40 UTC",
    "active_job_id": "2875aba1-299a-44df-8f66-c2416b938017",
    "job_class": "ExampleJob",
    "queue_name": "default",
    "scheduled_at": "2024-11-14 06:50:39 UTC",
    "finished_at": "2024-11-14 06:50:40 UTC",
    "error": "ExampleJob::ExpectedError: Executed 1 time.",
    "error_event": "retried",
    "error_backtrace": [
      "/app/demo/app/jobs/example_job.rb:39:in `perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in `block in _perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in `_perform_job'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `block in perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in `tagged'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:39:in `tag_logger'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in `perform_now'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:29:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:87:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `instance_exec'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.0/lib/active_job/execution.rb:27:in `execute'",
      "/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `block in instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in `instrument'",
      "/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
      "/app/lib/good_job/current_thread.rb:113:in `within'",
      "/app/app/models/good_job/job.rb:562:in `block in perform'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
      "/app/app/models/good_job/batch.rb:80:in `within_thread'",
      "/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in `run_callbacks'",
      "/app/app/models/good_job/job.rb:556:in `perform'",
      "/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/scoping/default.rb:51:in `unscoped'",
      "/app/app/models/concerns/good_job/advisory_lockable.rb:172:in `with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
      "/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:1373:in `_scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation.rb:548:in `scoping'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
      "/app/lib/good_job/job_performer.rb:35:in `block in next'",
      "/app/lib/good_job/capsule_tracker.rb:94:in `register'",
      "/app/lib/good_job/job_performer.rb:34:in `next'",
      "/app/lib/good_job/scheduler.rb:276:in `block (2 levels) in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:77:in `block in wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/execution_wrapper.rb:91:in `wrap'",
      "/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.0/lib/active_support/reloader.rb:74:in `wrap'",
      "/app/lib/good_job/scheduler.rb:275:in `block in create_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
      "<internal:kernel>:187:in `loop'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
      "/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
    ],
    "process_id": "ce9ea9b9-3a1f-409c-8867-55a9ee9ba8f7",
    "duration": "0.044341"
  }
}