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 some possible race conditions #3377

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Fix some possible race conditions #3377

merged 1 commit into from
Oct 20, 2022

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented Oct 19, 2022

When launching multiple reva instance for a single process we need to make sure that the sharedconfig global variable is initialized exactly once. Otherwise we might run into race conditions. Similarly make sure to initialize the user cache for the auth interceptor exactly once.

When launching multiple reva instance for a single process we need to
make sure that the sharedconfig global variable is initialized exactly
once. Otherwise we might run into race conditions. Similarly make sure
to initialize the user cache for the auth interceptor exactly once.
@rhafer rhafer merged commit 5cdc65a into cs3org:edge Oct 20, 2022
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.

2 participants