Skip to content

Conversation

davidjwilkins
Copy link

The Google App Engine example is unsafely reading / writing from a map. This fixes it to use a RWMutex to ensure that map is accessed safely.

@lammel
Copy link
Contributor

lammel commented Dec 6, 2020

I'm not sure we should complicate the example that much. Might be better to just add a note, that this code requires a proper mechanism in production.

Feedback weclome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants