When the Oban queue backs up, the 60-second uniqueness window expires and duplicate jobs stack up per device. Switch to period: :infinity so only one poll/monitor job exists per device at any time. Add replace option to supersede stale scheduled jobs with updated scheduled_at. Remove :executing from unique states so self-scheduling works while the current job runs. Set max_attempts: 1 since retrying stale polls is pointless. Also fix all credo --strict issues across the codebase.
Symbolic link
1 line
No EOL
66 B
YAML
Symbolic link
1 line
No EOL
66 B
YAML
/nix/store/zx636v118rzzqzwafgrw2aybh7l0szrl-pre-commit-config.json |