Skip to content

feat: All BatchGetDocuments RPCs to have customized retry settiings (per-FirestoreDb)#11561

Merged
jskeet merged 1 commit intogoogleapis:mainfrom
jskeet:issue-11322
Jan 20, 2024
Merged

feat: All BatchGetDocuments RPCs to have customized retry settiings (per-FirestoreDb)#11561
jskeet merged 1 commit intogoogleapis:mainfrom
jskeet:issue-11322

Conversation

@jskeet
Copy link
Copy Markdown
Collaborator

@jskeet jskeet commented Jan 19, 2024

fix: Use FirestoreSettings.BatchGetDocuments for batch timing

This will change the default timeout from 10 minutes to 5 minutes, but that will bring us in line with other clients. Any customer observing problems after this change can manually set the timeout in FirestoreSettings. I regard this as a "sufficiently safe" (but still potentially breaking) change to not merit a new major version.

Fixes #11322.

(While it would be nice to have per-RPC settings, that's probably too niche a requirement to be worth the API surface upheaval, at least for now.)

…per-FirestoreDb)

fix: Use FirestoreSettings.BatchGetDocuments for batch timing

This will change the default timeout from 10 minutes to 5 minutes, but that will bring us in line with other clients. Any customer observing problems after this change can manually set the timeout in FirestoreSettings. I regard this as a "sufficiently safe" (but still *potentially* breaking) change to not merit a new major version.

Fixes googleapis#11322.
@jskeet jskeet requested a review from a team January 19, 2024 11:19
Copy link
Copy Markdown
Contributor

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

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

LGTM

@jskeet jskeet merged commit ad580e0 into googleapis:main Jan 20, 2024
@jskeet jskeet deleted the issue-11322 branch January 20, 2024 14:11
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.

Better way for setting operation timeout and retries in Firestore SDK

2 participants