Skip to content

Commit

Permalink
[FISH-5488] set fish.payara.tenantcontrol.blocking.disable system pro…
Browse files Browse the repository at this point in the history
…perty default to true
  • Loading branch information
lprimak committed Jul 2, 2021
1 parent 5017a46 commit 30257f7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) [2016-2020] Payara Foundation and/or its affiliates. All rights reserved.
* Copyright (c) [2016-2021] Payara Foundation and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -57,7 +57,8 @@ public class PayaraHazelcastTenantFactory implements TenantControlFactory {
private final JavaEEContextUtil ctxUtil = Globals.getDefaultHabitat().getService(JavaEEContextUtil.class);
private final InvocationManager invocationMgr = Globals.getDefaultHabitat().getService(InvocationManager.class);

static boolean blockingDisabled = Boolean.getBoolean(DISABLE_BLOCKING_PROPERTY);
static boolean blockingDisabled = Boolean.parseBoolean(System.getProperty(DISABLE_BLOCKING_PROPERTY,
Boolean.TRUE.toString()));

@Override
public TenantControl saveCurrentTenant() {
Expand Down

0 comments on commit 30257f7

Please sign in to comment.