Roman Borschel

Results 2 issues of Roman Borschel

Pessimistic locking support of JPA 2 should be used to prevent tree corruption in concurrent scenarios. A lock on the root node of the tree being modified may be enough.

This PR suggests adding support for defining `max_attempts` and `max_run_time` in the `queue_attributes`, so that these can be defined per queue. If present, they take precedence over `Delayed::Worker.max_attempts` and `Delayed::Worker.max_run_time`...