You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am setting the command timeout on the database context as such:
dbContext.Database.SetCommandTimeout(3600);
However, your software is not honoring it. In the StoredProcBuilder constructor, you get a command by callling CreateCommand(). This apparently does not honor the timeout set above. Could you please add this code to set the timeout on the command based on the timeout on the context?
// added for command timeout handlilng
var commandTimeout = ctx.Database.GetCommandTimeout();
if (commandTimeout.HasValue)
cmd.CommandTimeout = commandTimeout.Value;
I am attaching a print screen illustrating the issue.
Thank you.
The text was updated successfully, but these errors were encountered:
I am setting the command timeout on the database context as such:
dbContext.Database.SetCommandTimeout(3600);
However, your software is not honoring it. In the StoredProcBuilder constructor, you get a command by callling CreateCommand(). This apparently does not honor the timeout set above. Could you please add this code to set the timeout on the command based on the timeout on the context?
I am attaching a print screen illustrating the issue.
Thank you.
The text was updated successfully, but these errors were encountered: