private/testplanet: use defaultInterval
Change-Id: Ife2810be46faaaf8cd51b193a859a88fff894a0e
This commit is contained in:
parent
6c4e3b64df
commit
cd4ff0722e
@ -325,7 +325,7 @@ func (planet *Planet) newSatellites(count int) ([]*SatelliteSystem, error) {
|
||||
Expiration: 7 * 24 * time.Hour,
|
||||
SettlementBatchSize: 10,
|
||||
FlushBatchSize: 10,
|
||||
FlushInterval: 2 * time.Second,
|
||||
FlushInterval: defaultInterval,
|
||||
},
|
||||
Checker: checker.Config{
|
||||
Interval: defaultInterval,
|
||||
|
@ -64,7 +64,7 @@ func (planet *Planet) NewVersionInfo() version.Info {
|
||||
// NewVersionConfig returns the Version Config for this planet with tuned metrics.
|
||||
func (planet *Planet) NewVersionConfig() checker.Config {
|
||||
config := checker.Config{
|
||||
CheckInterval: time.Minute * 5,
|
||||
CheckInterval: defaultInterval,
|
||||
}
|
||||
|
||||
config.ServerAddress = fmt.Sprintf("http://%s/", planet.VersionControl.Addr())
|
||||
|
Loading…
Reference in New Issue
Block a user