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

Apply default network timeout to queue options. #1000

Merged
merged 1 commit into from
Jun 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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