aboutgitcodebugslistschat
path: root/qrap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-06-27 15:05:45 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-06-27 15:05:45 +0200
commit2757d3c0b68a11a8c7562bb033d06c6749d76402 (patch)
treeec0a8ff1a8cf4a809cde36fdbb0467c9e5539bd1 /qrap.c
parentad6a00e9e6b46013cdb8e7476d9e648e837d7e84 (diff)
downloadpasst-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar.gz
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar.bz2
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar.lz
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar.xz
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.tar.zst
passt-2757d3c0b68a11a8c7562bb033d06c6749d76402.zip
qrap: Increase number of retries on connection reset even further
...if there are two or more instances of libvirt in a KubeVirt scenario using a number of instances of passt, the overlap period with probing instances of qemu becomes much longer. Switch to 50 retries instead of 5. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'qrap.c')
-rw-r--r--qrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qrap.c b/qrap.c
index 834b46e..4173281 100644
--- a/qrap.c
+++ b/qrap.c
@@ -234,7 +234,7 @@ int main(int argc, char **argv)
valid_args:
for (i = 1; i < UNIX_SOCK_MAX; i++) {
- retry_on_reset = 5;
+ retry_on_reset = 50;
retry:
s = socket(AF_UNIX, SOCK_STREAM, 0);