Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

@brendensoares brendensoares force-pushed the develop branch 2 times, most recently from 4fc7d52 to 57caf1d Compare April 12, 2022 20:59
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.

4 participants