From 2757d3c0b68a11a8c7562bb033d06c6749d76402 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 27 Jun 2022 15:05:45 +0200 Subject: 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 --- qrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qrap.c') 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); -- cgit v1.2.3