diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
| commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
| tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/test/dummy/app/jobs | |
| parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
| download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip | |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/test/dummy/app/jobs')
| -rw-r--r-- | rails/test/dummy/app/jobs/application_job.rb | 7 |
1 files changed, 7 insertions, 0 deletions
| diff --git a/rails/test/dummy/app/jobs/application_job.rb b/rails/test/dummy/app/jobs/application_job.rb new file mode 100644 index 0000000..d394c3d --- /dev/null +++ b/rails/test/dummy/app/jobs/application_job.rb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | class ApplicationJob < ActiveJob::Base | ||
| 2 | # Automatically retry jobs that encountered a deadlock | ||
| 3 | # retry_on ActiveRecord::Deadlocked | ||
| 4 | |||
| 5 | # Most jobs are safe to ignore if the underlying records are no longer available | ||
| 6 | # discard_on ActiveJob::DeserializationError | ||
| 7 | end | ||
