From 87044370b89bb8cd45aec5f897c06bcee9a44f92 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 22 Feb 2018 20:21:07 +0100 Subject: syz-manager: ask reproducers from hub only if connected to dashboard All reproducers from hub produce too much load on local managers. --- syz-manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syz-manager/manager.go b/syz-manager/manager.go index 923a98981..aaadbcd3a 100644 --- a/syz-manager/manager.go +++ b/syz-manager/manager.go @@ -1113,7 +1113,7 @@ func (mgr *Manager) hubSync() { mgr.mu.Unlock() - if mgr.cfg.Reproduce { + if mgr.cfg.Reproduce && mgr.dash != nil { needReproReply := make(chan bool) mgr.needMoreRepros <- needReproReply a.NeedRepros = <-needReproReply -- cgit mrf-deployment