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

Added write lock mechanizim around controller reuse #1551

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

notzippy
Copy link
Collaborator

@notzippy notzippy commented Mar 5, 2022

Added write lock mechanizim around controller reuse
closes #1547

@brendensoares
Copy link
Member

We'll defer this for the next release pending testing.

We need to at least have a manual test to verify this fix resolves the issue.

To reproduce, we need to force a concurrent access to the CachedMap property. Perhaps a single controller with a time delay can do this.

wiselike pushed a commit to wiselike/revel that referenced this pull request Apr 5, 2024
Comment on lines +232 to +233
} else {
RevelLog.Warn("Failed to unpack json file", "error", err, "Json", inputmode)
Copy link

Choose a reason for hiding this comment

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

It should not raise a warning here. Because it said "The input mode can be as simple as "prod" or it can be a JSON string" before. This code should be removed.

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.

None yet

3 participants