Skip to content

Commit 2df94f9

Browse files
author
Shlomi Noach
committed
printing courtesy reminder once per 10 minutes
1 parent 9519a66 commit 2df94f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/logic/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ func (this *Migrator) printStatus() {
580580
}
581581

582582
// Before status, let's see if we should print a nice reminder for what exactly we're doing here.
583-
shouldPrintCourtesyReminder := (elapsedSeconds%120 == 0)
583+
shouldPrintCourtesyReminder := (elapsedSeconds%600 == 0)
584584
if shouldPrintCourtesyReminder {
585585
courtesyReminder := fmt.Sprintf("# Migrating %s.%s; Ghost table is %s.%s; migration started at %+v",
586586
sql.EscapeName(this.migrationContext.DatabaseName),

0 commit comments

Comments
 (0)