Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update custom timeout and retry sample (#1174)
Fixes a couple of minor issues in the retry- and timeout sample: 1. Remove DeadlineExceeded as a retryable code, as the sample uses a single timeout and will not retry on DeadlineExceeded anyways, meaning that the addition of that error code was just confusing. 1. Update the maxBackoff to 16 seconds. We are setting this value to 16 seconds for all client libraries, as it makes the sample confusing when the max backoff is larger than the total timeout (60 seconds). The documentation page that uses this sample is https://cloud.google.com/spanner/docs/custom-timeout-and-retry Do not merge: Please hold off on merging until all the samples have been updated.
- Loading branch information