Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sync): add lock for provider name #284

Merged
merged 2 commits into from
Dec 13, 2021
Merged

fix(sync): add lock for provider name #284

merged 2 commits into from
Dec 13, 2021

Conversation

samuelmasse
Copy link
Contributor

@samuelmasse samuelmasse commented Dec 13, 2021

Fixes a problem in sync calls when messaging is spinned where multiple calls made with the same botId would not be locked. Related botpress/botpress#5760

Closes DEV-2189

@samuelmasse
Copy link
Contributor Author

We need to release 0.1.20 with that

@samuelmasse samuelmasse marked this pull request as ready for review December 13, 2021 23:22
@linear
Copy link

linear bot commented Dec 13, 2021

DEV-2189 Fix locking with provider names when making sync calls

A sync call would be locked for a certain clientId, but when we start messaging from the core the sync calls also include the botId and we did not lock the requests using those

Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working 👍

@samuelmasse samuelmasse merged commit f92111c into master Dec 13, 2021
@samuelmasse samuelmasse deleted the sm-fix-sync branch December 13, 2021 23:51
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.

None yet

2 participants