Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
apply default network timeout to queue options. (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasobol-msft authored Jun 1, 2020
1 parent e6f678b commit 319b1a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Lib/Common/Queue/QueueRequestOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ internal static QueueRequestOptions ApplyDefaults(QueueRequestOptions options, C
?? serviceClient.DefaultRequestOptions.ServerTimeout
?? BaseDefaultRequestOptions.ServerTimeout;

modifiedOptions.NetworkTimeout =
modifiedOptions.NetworkTimeout
?? serviceClient.DefaultRequestOptions.NetworkTimeout
?? BaseDefaultRequestOptions.NetworkTimeout;

modifiedOptions.MaximumExecutionTime =
modifiedOptions.MaximumExecutionTime
?? serviceClient.DefaultRequestOptions.MaximumExecutionTime
Expand Down

0 comments on commit 319b1a0

Please sign in to comment.