chore(): Prevent sub workflow events release early + redis unlink (#11641)

**What**
- Prevent event release when a workflow is run as step and finish
- Use `unlink` instead of `del` when removing keys from redist to push the execution to async thread
This commit is contained in:
Adrien de Peretti
2025-02-27 11:33:30 +01:00
committed by GitHub
parent ca6a15717d
commit c250de7919
7 changed files with 26 additions and 14 deletions

View File

@@ -258,7 +258,7 @@ export class RedisLockingProvider implements ILockingProvider {
const currentOwner = currentOwners?.[idx]?.[1]
if (currentOwner === ownerId) {
deletePipeline.del(key)
deletePipeline.unlink(key)
}
})