Skip to content

Fix ConnectTimeout XML doc comment: default is 24 hours, not 120 seconds#11463

Merged
jonathanpeppers merged 2 commits into
mainfrom
copilot/fix-connect-timeout-doc-comment
May 26, 2026
Merged

Fix ConnectTimeout XML doc comment: default is 24 hours, not 120 seconds#11463
jonathanpeppers merged 2 commits into
mainfrom
copilot/fix-connect-timeout-doc-comment

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 23, 2026

ConnectTimeout doc comment stated default is 120 seconds, but the initializer is TimeSpan.FromHours(24). Updated to match reality and be consistent with ReadTimeout doc above it.

-/// The default value is <c>120</c> seconds.
+/// The default value is <c>24</c> hours, same as <see cref="ReadTimeout"/>.

Copilot AI changed the title [WIP] Fix ConnectTimeout XML doc comment for accuracy Fix ConnectTimeout XML doc comment: default is 24 hours, not 120 seconds May 23, 2026
Copilot AI requested a review from jonathanpeppers May 23, 2026 02:47
@jonathanpeppers jonathanpeppers marked this pull request as ready for review May 26, 2026 17:56
Copilot AI review requested due to automatic review settings May 26, 2026 17:56
@jonathanpeppers jonathanpeppers merged commit 230f8e2 into main May 26, 2026
4 of 5 checks passed
@jonathanpeppers jonathanpeppers deleted the copilot/fix-connect-timeout-doc-comment branch May 26, 2026 17:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the XML documentation for AndroidMessageHandler.ConnectTimeout to reflect the actual default value used in code (24 hours), aligning it with the existing ReadTimeout documentation and the TimeSpan.FromHours (24) initializer.

Changes:

  • Correct ConnectTimeout default value in XML doc comment from 120 seconds to 24 hours.
  • Cross-reference ReadTimeout in the ConnectTimeout documentation for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix-finder] Fix ConnectTimeout XML doc comment that incorrectly states default is 120 seconds (actual: 24 hours)

3 participants