mirror of
https://github.com/aljazceru/haven.git
synced 2025-12-18 06:14:20 +01:00
don't force backups, update eventstore
This commit is contained in:
@@ -22,6 +22,11 @@ type AwsCredentials struct {
|
||||
}
|
||||
|
||||
func backupDatabase() {
|
||||
if config.BackupProvider == "none" || config.BackupProvider == "" {
|
||||
log.Println("🚫 no backup provider set")
|
||||
return
|
||||
}
|
||||
|
||||
ticker := time.NewTicker(time.Duration(config.BackupIntervalHours) * time.Hour)
|
||||
defer ticker.Stop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user