From 6ac610932b8b8776d2a5b5caaab0e59fa2d75a18 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 13 Sep 2019 12:00:26 +0300
Subject: [PATCH] Increase the timeout for TCP and Unix socket checks.

The checks for open ports/ sockets was timinig out after 1 second which
isn't reasonable.
---
 .bashrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.bashrc b/.bashrc
index 5e31e5e..03277c9 100644
--- a/.bashrc
+++ b/.bashrc
@@ -115,8 +115,8 @@ alias prune_docker_remote='find ~/.ssh -maxdepth 1 -type s -name "docker_*" -del
 alias close='ssh -fnNTS ~/.ssh/%C.sock -O exit'
 alias jjb='jenkins-jobs'
 alias diff='diff --unified'
-alias check_tcp='nc -vzw1'
-alias check_unix='nc -Uvzw1'
+alias check_tcp='nc -vzw10'
+alias check_unix='nc -Uvzw3'
 alias listen_tcp='nc -vlk 0.0.0.0'
 alias listen_udp='nc -uvlk 0.0.0.0'
 alias listen_unix='nc -Uvlk'
-- 
GitLab