Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fsm events failed when register task (#2225)
fix: fsm events failed when register task. When there is a high concurrency of registration tasks, it can cause error InTransitionError, because of looplab/fsm library uses optimistic locking to implement state transitions, refer to https://github.com/looplab/fsm/blob/main/fsm.go#L312. Signed-off-by: Gaius <gaius.qi@gmail.com>
- Loading branch information