mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
Merge pull request #759 from nspcc-dev/feature/default_config_values
config: add default ping timeouts config value
This commit is contained in:
commit
8cb9e1d85d
1 changed files with 4 additions and 1 deletions
|
@ -155,7 +155,10 @@ func Load(path string, netMode NetMode) (Config, error) {
|
|||
ProtocolConfiguration: ProtocolConfiguration{
|
||||
SystemFee: SystemFee{},
|
||||
},
|
||||
ApplicationConfiguration: ApplicationConfiguration{},
|
||||
ApplicationConfiguration: ApplicationConfiguration{
|
||||
PingInterval: 30,
|
||||
PingTimeout: 90,
|
||||
},
|
||||
}
|
||||
|
||||
err = yaml.Unmarshal(configData, &config)
|
||||
|
|
Loading…
Reference in a new issue