1
0
mirror of https://github.com/bitwarden/server synced 2025-12-10 05:13:48 +00:00

sleep for 20 seconds between migrate re-tries

This commit is contained in:
Kyle Spearrin
2018-05-31 22:11:08 -04:00
parent a6260c867c
commit 6f1f2305e3

View File

@@ -277,6 +277,7 @@ namespace Bit.Setup
var nextAttempt = attempt + 1;
Console.WriteLine("Database is in script upgrade mode. " +
"Trying again (attempt #{0})...", nextAttempt);
System.Threading.Thread.Sleep(20000);
MigrateDatabase(nextAttempt);
return;
}