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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user