From 2df94f9c518675d36dc9cfab8ce0ab5b66092d6a Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Tue, 31 May 2016 21:12:39 +0200 Subject: [PATCH] printing courtesy reminder once per 10 minutes --- go/logic/migrator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/logic/migrator.go b/go/logic/migrator.go index 2241ae0..cc50fda 100644 --- a/go/logic/migrator.go +++ b/go/logic/migrator.go @@ -580,7 +580,7 @@ func (this *Migrator) printStatus() { } // Before status, let's see if we should print a nice reminder for what exactly we're doing here. - shouldPrintCourtesyReminder := (elapsedSeconds%120 == 0) + shouldPrintCourtesyReminder := (elapsedSeconds%600 == 0) if shouldPrintCourtesyReminder { courtesyReminder := fmt.Sprintf("# Migrating %s.%s; Ghost table is %s.%s; migration started at %+v", sql.EscapeName(this.migrationContext.DatabaseName),