You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the lock_prefix configuration option is ignored, and all created locks currently all use the global default uniquejobs.
I believe this to be a regression from #774, specifically this LOC. The way the code is now, it always sets the prefix to the global default, rather than respecting a specific job's configuration.
I've created an isolated case that displays the broken behavior and proves that LOC is the perpetrator:
The output shows the initial lock contains the wrong prefix, while after the monkey-patch it uses the correct configuration:
Expected behavior
The created lock should use the prefix set via the lock_prefix configuration option.
Current behavior
The created lock always uses the global default prefix.
Additional context
I don't know the full context behind that aforementioned PR and what the root cause is, so I'm not sure if the fix is as simple as the monkey-patch in my example.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, the
lock_prefix
configuration option is ignored, and all created locks currently all use the global defaultuniquejobs
.I believe this to be a regression from #774, specifically this LOC. The way the code is now, it always sets the prefix to the global default, rather than respecting a specific job's configuration.
I've created an isolated case that displays the broken behavior and proves that LOC is the perpetrator:
The output shows the initial lock contains the wrong prefix, while after the monkey-patch it uses the correct configuration:
Expected behavior
The created lock should use the prefix set via the
lock_prefix
configuration option.Current behavior
The created lock always uses the global default prefix.
Additional context
I don't know the full context behind that aforementioned PR and what the root cause is, so I'm not sure if the fix is as simple as the monkey-patch in my example.
The text was updated successfully, but these errors were encountered: