Merge pull request #4153 from thaJeztah/update_go_events

vendor: update go-events to fix alignment for 32bit systems
This commit is contained in:
Akihiro Suda
2020-04-07 10:09:49 +09:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -203,8 +203,8 @@ type ExponentialBackoffConfig struct {
// ExponentialBackoff implements random backoff with exponentially increasing
// bounds as the number consecutive failures increase.
type ExponentialBackoff struct {
failures uint64 // consecutive failure counter (needs to be 64-bit aligned)
config ExponentialBackoffConfig
failures uint64 // consecutive failure counter.
}
// NewExponentialBackoff returns an exponential backoff strategy with the