Sfoglia il codice sorgente

disable backups when in test mode

tags/v0.1.6
Jonathan Cobb 4 anni fa
parent
commit
636fbe9b6e
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      bubble-server/src/main/java/bubble/service/backup/BackupService.java

+ 4
- 0
bubble-server/src/main/java/bubble/service/backup/BackupService.java Vedi File

@@ -82,6 +82,10 @@ public class BackupService extends SimpleDaemon {
@Override protected void init() throws Exception { backupCleanerService.start(); }

@Override protected void process() {
if (configuration.testMode()) {
log.info("backup: test mode enabled, not backing up");
return;
}
if (isRestoreMode()) {
log.info("backup: restore mode is active, not backing up");
return;


Caricamento…
Annulla
Salva