Skip to content

dial-nodes: add timeout flag

John Cai requested to merge jc-use-timeout-in-dialnodes into master

A recent refactor got rid of a default timeout for the dial nodes subcommand. This change adds a flag -timeout that can be passed into the command so that it doesn't have to wait the full 30 seconds to get a timeout error back. It also uses the 30 second timeout as a default so we never block forever.

fixes: #3936 (closed)

Edited by John Cai

Merge request reports