From 6755f62592cfd0ee124c3e48b0bbb375cdd5e857 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 20 Oct 2017 11:17:22 +0200 Subject: syz-fuzzer: fix manager polling We need to always poll manager to send stats/maxsignal, we just need not request candidates if we have plenty of work. --- pkg/rpctype/rpctype.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pkg') diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index efe9e4c1d..e3a9531d6 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -51,9 +51,10 @@ type NewInputArgs struct { } type PollArgs struct { - Name string - MaxSignal []uint32 - Stats map[string]uint64 + Name string + NeedCandidates bool + MaxSignal []uint32 + Stats map[string]uint64 } type PollRes struct { -- cgit mrf-deployment