Skip to content

Commit 95ac1cc

Browse files
geofffranksameowlia
authored andcommitted
After bumping nats-top, MonitorStats() switched to using a ticker, which panics if the delay is 0, so bumping this to 1
1 parent c43727b commit 95ac1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.cloudfoundry.org/test/performance-sd/nats_performance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func closeSubscribers() {
148148

149149
func startProfiler(exp *gmeasure.Experiment, cpuKey, memKey string, stopCpuProfiling chan struct{}, cpuValuesChannel chan float64) {
150150
defer GinkgoRecover()
151-
natsTopEngine := toputils.NewEngine(config.NatsURL, config.NatsMonitoringPort, 1000, 0)
151+
natsTopEngine := toputils.NewEngine(config.NatsURL, config.NatsMonitoringPort, 1000, 1)
152152
natsTopEngine.SetupHTTP()
153153

154154
go func() {

0 commit comments

Comments
 (0)