Set keepalives for gerrit connections
Some gerrit clients connect through stateful firewalls, which are occasionally "flushed", which leads to hanging of the connection. This could be avoided by tcp keepalives. To turn keepalives on, set "keepalive" in gerrit connection attributes to non-zero (0 means no keepalives sent) The default is turn it on with timeout of 60 seconds. Change-Id: Ic3d11e0ac2108f02832e2114ba8bc1adcc87cb4f
This commit is contained in:
@@ -32,6 +32,7 @@ server=review.example.com
|
||||
;baseurl=https://review.example.com/r
|
||||
user=jenkins
|
||||
sshkey=/home/jenkins/.ssh/id_rsa
|
||||
;keepalive=60
|
||||
|
||||
[connection smtp]
|
||||
driver=smtp
|
||||
|
||||
Reference in New Issue
Block a user