forked from TrueCloudLab/frostfs-node
[#1713] node: Add Neo RPC switch interval to the config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
0631b38da1
commit
9a0824766c
9 changed files with 34 additions and 12 deletions
|
@ -49,9 +49,8 @@ type cfg struct {
|
|||
}
|
||||
|
||||
const (
|
||||
defaultDialTimeout = 5 * time.Second
|
||||
defaultWaitInterval = 500 * time.Millisecond
|
||||
defaultSwitchInterval = 2 * time.Minute
|
||||
defaultDialTimeout = 5 * time.Second
|
||||
defaultWaitInterval = 500 * time.Millisecond
|
||||
)
|
||||
|
||||
func defaultConfig() *cfg {
|
||||
|
@ -63,7 +62,6 @@ func defaultConfig() *cfg {
|
|||
signer: &transaction.Signer{
|
||||
Scopes: transaction.Global,
|
||||
},
|
||||
switchInterval: defaultSwitchInterval,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue