mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
sleep for 20 seconds between migrate re-tries
This commit is contained in:
parent
a6260c867c
commit
6f1f2305e3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user