Dont flush settings on exit after import (#1179)

Fixes bug when importing settings zip that would have the new settings be over written, and would not actually update
This commit is contained in:
Matt
2024-01-20 20:49:51 -05:00
committed by GitHub
parent 580bbb4a4d
commit 57f02f31a5
3 changed files with 21 additions and 2 deletions

View File

@@ -94,6 +94,7 @@ public class RequestHandler {
ctx.status(200);
ctx.result("Successfully saved the uploaded settings zip, rebooting...");
logger.info("Successfully saved the uploaded settings zip, rebooting...");
ConfigManager.getInstance().disableFlushOnShutdown();
restartProgram();
} else {
ctx.status(500);