-
Notifications
You must be signed in to change notification settings - Fork 306
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
[FISH-5488] set fish.payara.tenantcontrol.blocking.disable system pro… #5325
Conversation
…perty default to true
@@ -66,7 +69,7 @@ public TenantControl saveCurrentTenant() { | |||
if (invocation != null) { | |||
tenantControl = invocation.getRegistryFor(TenantControl.class); | |||
if (tenantControl == null && ctxUtil.isInvocationLoaded()) { | |||
blockingDisabled = Boolean.getBoolean(DISABLE_BLOCKING_PROPERTY); | |||
blockingDisabled = getDisableBlockingProperty.get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the static variable overwritten here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it's possible to change the system property without restarting the instance and having it take effect
jenkins test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Call me old-fashioned but I think the use of a supplier for System.getProperty is a little overkill, but otherwise LGTM (Rudy's question and Quicklook exploding outstanding).
yea probably :) Not worth changing at this point though |
…perty default to true (payara#5325)
…perty default to true (payara#5325)
…perty default to true
Description
Improvement. Eliminates regressions due to blocking of nodes with non-existent apps
while trying to retrieve Hazelcast objects