Skip to content

Thread.sleep is one 1000 times too fast #874

Closed
@olavloite

Description

@olavloite

The example usage for TransactionManager contains an error in the retry part: The returned timeout is already in milliseconds, but the example divides it by 1000 before passing it to Thread.sleep.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.documentationImprovements or additions to documentationpriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.semver: patchA minor bug fix or small change.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions