fix config typo (#2172)

* fix config typo

* tidy

* add sample config

* cleanup
This commit is contained in:
Paul Wells
2023-10-22 23:43:03 -07:00
committed by GitHub
parent 325e5ca753
commit 0bc932e57e
3 changed files with 28 additions and 13 deletions
+5 -5
View File
@@ -271,11 +271,11 @@ type SignalRelayConfig struct {
}
type PSRPCConfig struct {
Enable bool `yaml:"enable,omitempty"`
MaxAttempts int `yaml:"retry_attempts,omitempty"`
Timeout time.Duration `yaml:"retry_timeout,omitempty"`
Backoff time.Duration `yaml:"retry_backoff,omitempty"`
BufferSize int `yaml:"stream_buffer_size,omitempty"`
Enabled bool `yaml:"enabled,omitempty"`
MaxAttempts int `yaml:"max_attempts,omitempty"`
Timeout time.Duration `yaml:"timeout,omitempty"`
Backoff time.Duration `yaml:"backoff,omitempty"`
BufferSize int `yaml:"buffer_size,omitempty"`
}
// RegionConfig lists available regions and their latitude/longitude, so the selector would prefer