Skip to content

Commit

Permalink
add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Oct 8, 2024
1 parent ab26448 commit bd547a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public override void Execute()
conn.Open();
using (var cmd = _server.GetCommand(sql, conn))
{
cmd.CommandTimeout = 60000;
using var da = _server.GetDataAdapter(cmd);
da.Fill(dt);
}
Expand Down

0 comments on commit bd547a2

Please sign in to comment.