diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-11 12:58:46 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-11 14:27:17 +0000 |
| commit | 3e33f94b2003d654f468173e3aa960921475fee1 (patch) | |
| tree | 0d3b2befba02719266c9a741ead6c85893392784 /tools | |
| parent | 95ed9ece851c5ce0f8db8fbe8c852457b4c36a85 (diff) | |
pkg/rpctype: allow to disable timeouts
Fuzzer don't need timeouts for the RPC connection much,
if it does not receive new programs, we will kill it
due to "no output" anyway.
But they are problematic when we do parallel calls (Exchange),
e.g. one call can cancel timeout of an existing call.
They also will be more problematic if we also send
notifications about programs fuzzer started executing in parallel.
And they also marginally slow down things.
Disable timeouts in the fuzzer.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-hubtool/hubtool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-hubtool/hubtool.go b/tools/syz-hubtool/hubtool.go index 08d55cd95..a3317801e 100644 --- a/tools/syz-hubtool/hubtool.go +++ b/tools/syz-hubtool/hubtool.go @@ -57,7 +57,7 @@ func main() { return } log.Printf("connecting to hub at %v...", *flagHubAddress) - conn, err := rpctype.NewRPCClient(*flagHubAddress, 1, true) + conn, err := rpctype.NewRPCClient(*flagHubAddress, 1, true, true) if err != nil { log.Fatalf("failed to connect to hub: %v", err) } |
