mirror of
https://github.com/bitwarden/server
synced 2025-12-18 09:13:19 +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;
|
var nextAttempt = attempt + 1;
|
||||||
Console.WriteLine("Database is in script upgrade mode. " +
|
Console.WriteLine("Database is in script upgrade mode. " +
|
||||||
"Trying again (attempt #{0})...", nextAttempt);
|
"Trying again (attempt #{0})...", nextAttempt);
|
||||||
|
System.Threading.Thread.Sleep(20000);
|
||||||
MigrateDatabase(nextAttempt);
|
MigrateDatabase(nextAttempt);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user