Skip to content

Conversation

@moredure
Copy link

@moredure moredure commented Jan 9, 2023

When multiple instances of queue instantiated shared regexp can result in incorrect regexp used for all except last instance of queue created.

@moredure moredure changed the title Fixed issue with shared RegExps bugfix: Fixed issue with shared RegExps Jan 11, 2023
@leonzz
Copy link
Collaborator

leonzz commented Sep 22, 2023

Thanks @moredure for sending in the fix. Could you update the description and describe the issue in more detail? IIUC shared global var should be ok as Golang regexp is documented as safe for concurrent use: https://pkg.go.dev/regexp#Regexp

@moredure
Copy link
Author

moredure commented Sep 22, 2023

@leonzz, updated description

@moredure moredure changed the title bugfix: Fixed issue with shared RegExps bugfix: Fixed issue with global shared RegExps for queue Sep 22, 2023
@CatherineF-dev
Copy link
Collaborator

/lgtm

@CatherineF-dev
Copy link
Collaborator

cc @leonzz I think we can mark the conversation as resolved and let it merged?

@leonzz leonzz merged commit 71f60e7 into kev1n80:master Nov 30, 2023
@leonzz
Copy link
Collaborator

leonzz commented Nov 30, 2023

Thanks! resolved the comment thread and merged.

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.

3 participants