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

implement workaround for chi.RegisterMethod #2785

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

C0rby
Copy link
Contributor

@C0rby C0rby commented Apr 27, 2022

Implemented a workaround for chi.RegisterMethod because of a concurrent map read write issue.
This needs to be fixed upstream in go-chi. Basically this map needs to support concurrent access: https://github.com/go-chi/chi/blob/c97bc988430d623a14f50b7019fb40529036a35a/tree.go#L34

@C0rby C0rby requested a review from labkode as a code owner April 27, 2022 12:54
@C0rby C0rby self-assigned this Apr 27, 2022
@C0rby C0rby requested review from ishank011, glpatcern and a team as code owners April 27, 2022 12:54
Copy link
Contributor

@butonic butonic left a comment

Choose a reason for hiding this comment

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

interesting hack ;-)

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