From cd4ff0722ef46252589ffe9cc25f294d8f4192d9 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Tue, 14 Jan 2020 12:56:26 +0200 Subject: [PATCH] private/testplanet: use defaultInterval Change-Id: Ife2810be46faaaf8cd51b193a859a88fff894a0e --- private/testplanet/satellite.go | 2 +- private/testplanet/versioning.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/private/testplanet/satellite.go b/private/testplanet/satellite.go index 9ee32fc87..d087a888e 100644 --- a/private/testplanet/satellite.go +++ b/private/testplanet/satellite.go @@ -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, diff --git a/private/testplanet/versioning.go b/private/testplanet/versioning.go index c6d94011a..6726ad818 100644 --- a/private/testplanet/versioning.go +++ b/private/testplanet/versioning.go @@ -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())