Skip to content

Comments

Add flowId to base job params#46

Draft
jmezo wants to merge 1 commit intomainfrom
add-flow-id
Draft

Add flowId to base job params#46
jmezo wants to merge 1 commit intomainfrom
add-flow-id

Conversation

@jmezo
Copy link
Contributor

@jmezo jmezo commented Sep 12, 2024

This pr fixes a bug with the core2 gate1 access flow. The core2 listener saves jobs done count by flow id in redis, and since the queues doesn't include it in the job params it gets returned as null.
Because of this running a status update on a role a second time will not trigger the checkIfAllDone logic because roleSummary.Count will be more than allDone.

I didn't test it yet just wanted your opinion on it, maybe you'll immediately see if there's something wrong with it. I'm not sure if it will mess up the flows where there's no flowId in the redis hasmap. Although I tried it in redis and it just returns nil in that case.

@jmezo jmezo requested a review from Devidxyz September 12, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant