-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
-
1246.v28b_e4cc6fa_16
I'd be interested in seeing a feature where a lock could have an optional priority. If a priority is set, actions requesting resources with a higher priority would get the lock sooner than those with lower priority.
lock('my-resource', priority: 9) { } } lock('my-resource', priority: 5) { }
In this example, I would expect the priority 9 lock to yield before the priority 5 lock, even if priority 5 requested the lock first. This could be used in conjunction with inversePrecedence to order lock yielding within priority buckets.
[JENKINS-42679] Allow lock retrieval based on requested priority
Remote Link | New: This issue links to "PR #78 - Lock with priority (Web Link)" [ 23062 ] |
Assignee | New: Tobias Gruetzmacher [ tgr ] |
Assignee | Original: Tobias Gruetzmacher [ tgr ] |
Remote Link | New: This issue links to "PR #632 - Lockable priority strategy (Web Link)" [ 29608 ] |
Released As | New: 1246.v28b_e4cc6fa_16 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |