Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ormico committed Aug 26, 2019
1 parent 89a86e1 commit 27d45ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public void ExecuteDDL(string commandText)
foreach (string sql in enumerable)
{
i++;
//set a timeout of 60 seconds * 15 minutes = 900 seconds
//set a timeout of 60 seconds * 60 minutes = 3600 seconds
//todo: make a global and/or patch specific setting in config
_con.Execute(sql, commandTimeout: 900);
_con.Execute(sql, commandTimeout: 3600);
}
}

Expand Down

0 comments on commit 27d45ca

Please sign in to comment.