# Fork of DelayedJob Sequel Backend

Forked from [delayed\_job\_sequel](https://github.com/TalentBox/delayed_job_sequel)

We've removed the following features to reduce deadlock when using MySQL.

* Job Priorities
* Expired job processing

Creating the following index may be helpful

```sql
CREATE INDEX delayed_jobs_reserve ON delayed_jobs (queue, locked_at, locked_by, failed_at, run_at);
```

# Fork of DelayedJob Sequel Backend

Forked from [delayed\_job\_sequel](https://github.com/TalentBox/delayed_job_sequel)

We've removed the following features to reduce deadlock when using MySQL.

* Job Priorities - And then we added them back in (experimental - monitoring deadlock status)
* Expired job processing

Creating the following index may be helpful

```sql
CREATE INDEX delayed_jobs_reserve ON delayed_jobs (queue, locked_at, locked_by, failed_at, run_at);
```

Document readdition of DelayedJob priorities
Document readdition of DelayedJob priorities

Currently added back in to deprioritize failed jobs. 

Potentially improve deadlock situation.