-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spanner: update the health check interval
This includes the following changes: * adjust the default interval to 50 minutes. * the first healthcheck is scheduled to [interval*0.2, interval*1.1), i.e., [10, 55) mins. * the non-first healthchecks are scheduled to [interval*0.9, interval*1.1), so the new range will become [45, 55) mins. * add a separately sourced random generator in session pool. Fixes #1817 Change-Id: I7dc612063815279b2f6a3b2b24c17ae6d52c14a2 Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/53252 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Knut Olav Løite <koloite@gmail.com>
- Loading branch information
1 parent
85bbe53
commit 62bc962
Showing
2 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters