From c534c2f1fb53542e0ca5d6a21dc70e0f0c400296 Mon Sep 17 00:00:00 2001 From: Victor Vrantchan Date: Tue, 24 Jul 2018 09:02:32 -0400 Subject: [PATCH] update doc with default timeout. The timeout value was changed from 5 to 2 seconds in https://github.com/Microsoft/go-winio/pull/80 --- pipe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe.go b/pipe.go index d99eedb6..39e15d6d 100644 --- a/pipe.go +++ b/pipe.go @@ -139,7 +139,7 @@ func (s pipeAddress) String() string { // DialPipe connects to a named pipe by path, timing out if the connection // takes longer than the specified duration. If timeout is nil, then we use -// a default timeout of 5 seconds. (We do not use WaitNamedPipe.) +// a default timeout of 2 seconds. (We do not use WaitNamedPipe.) func DialPipe(path string, timeout *time.Duration) (net.Conn, error) { var absTimeout time.Time if timeout != nil {