Skip to content

Commit

Permalink
Update config name.
Browse files Browse the repository at this point in the history
  • Loading branch information
inthirakumaaran committed Dec 12, 2024
1 parent fbe808f commit 95f71d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void handleTask(String tenantDomain) {
*/
private boolean isClusterModeEnabled() {

String clusterModeEnabledValue = IdentityUtil.getProperty(NotificationConstants.RUN_TASK_IN_CLUSTER_MODE);
String clusterModeEnabledValue = IdentityUtil.getProperty(NotificationConstants.EXECUTE_TASK_IN_SINGLE_NODE);
return StringUtils.isNotBlank(clusterModeEnabledValue) ? Boolean.parseBoolean(clusterModeEnabledValue) : false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class NotificationConstants {
public static final String SUSPENSION_NOTIFICATION_TRIGGER_TIME= "suspension.notification.trigger.time";
public static final String SUSPENSION_NOTIFICATION_DELAYS="suspension.notification.delays";
public static final String USE_IDENTITY_CLAIM_FOR_LAST_LOGIN_TIME = "AccountSuspension.UseIdentityClaims";
public static final String RUN_TASK_IN_CLUSTER_MODE = "AccountSuspension.RunTaskInClusterMode";
public static final String EXECUTE_TASK_IN_SINGLE_NODE = "AccountSuspension.ExecuteTaskOnSingleNode";
public static final String TRIGGER_TIME_FORMAT = "HH:mm:ss";
public static final long SCHEDULER_DELAY = 24; // In hours
public static final String SUSPENSION_NOTIFICATION_THREAD_POOL_SIZE = "suspension.notification.thread.pool.size";
Expand Down

0 comments on commit 95f71d6

Please sign in to comment.