Skip to content

Commit

Permalink
CB-4816 refresh drivers config only when starting server
Browse files Browse the repository at this point in the history
  • Loading branch information
yagudin10 committed Mar 6, 2024
1 parent f853dcf commit 109d376
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ protected void startServer() {
log.error(e);
return;
}
refreshDisabledDriversConfig();

configurationMode = CommonUtils.isEmpty(serverName);

Expand Down Expand Up @@ -380,6 +381,8 @@ public boolean implies(ProtectionDomain domain, Permission permission) {

eventController.scheduleCheckJob();

refreshDisabledDriversConfig();

runWebServer();

log.debug("Shutdown");
Expand Down Expand Up @@ -542,7 +545,6 @@ protected Path loadServerConfiguration() throws DBException {
log.debug("Runtime configuration [" + runtimeConfigFile.getAbsolutePath() + "]");
parseConfiguration(runtimeConfigFile);
}
refreshDisabledDriversConfig();
return path;
}

Expand Down

0 comments on commit 109d376

Please sign in to comment.