Skip to content

feat(fcm): add retry config client option support#762

Open
aminpaydar wants to merge 1 commit into
firebase:devfrom
aminpaydar:add-retry-config-option
Open

feat(fcm): add retry config client option support#762
aminpaydar wants to merge 1 commit into
firebase:devfrom
aminpaydar:add-retry-config-option

Conversation

@aminpaydar
Copy link
Copy Markdown

@aminpaydar aminpaydar commented May 6, 2026

Allow callers to pass retry policy through option.ClientOption so Messaging can honor custom retry behavior from NewApp options. When no retry option is supplied the default retry config is still applied.

Link to issue: #476

Allow callers to pass retry policy through option.ClientOption so Messaging can honor custom retry behavior from NewApp options.
When no retry option is supplied the default retry config is still applied.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a mechanism to customize HTTP retry behavior across the SDK by adding a WithRetryConfig client option. Key changes include the implementation of CloneHTTPClient to prevent side effects when sharing base HTTP clients, and updating the messaging service to support these new configurations while preserving existing HTTP options. I have no feedback to provide as there were no review comments to evaluate.

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.

1 participant