Skip to content

Commit

Permalink
Made database patch execution respect the CreateDatabaseTimeout setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Mar 1, 2022
1 parent 20b24c5 commit c2a638b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void RunSQL(KeyValuePair<string,Patch> kvp)
using (var con = Database.Server.GetConnection())
{
con.Open();
UsefulStuff.ExecuteBatchNonQuery(kvp.Value.GetScriptBody(), con);
UsefulStuff.ExecuteBatchNonQuery(kvp.Value.GetScriptBody(), con,null, DiscoveredServerHelper.CreateDatabaseTimeoutInSeconds);
}

var now = DateTime.Now;
Expand Down

0 comments on commit c2a638b

Please sign in to comment.