private/testplanet: use defaultInterval

Change-Id: Ife2810be46faaaf8cd51b193a859a88fff894a0e
This commit is contained in:
Egon Elbre 2020-01-14 12:56:26 +02:00
parent 6c4e3b64df
commit cd4ff0722e
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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())