Skip to content

Conversation

0x113
Copy link

@0x113 0x113 commented Jan 25, 2025

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

When multiple requests are made, the current code returns a panic because of concurrent writes to the map.

What is the new behavior?

No more panic :) Added mutex lock to ensure thread safety.

Additional context

N/A

@MABKTRADER
Copy link

We good

@kamil-morawski
Copy link

I also had this issue, this helps a lot. Would be nice if it got 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