diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-06-27 15:05:45 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-06-27 15:05:45 +0200 |
commit | 2757d3c0b68a11a8c7562bb033d06c6749d76402 (patch) | |
tree | ec0a8ff1a8cf4a809cde36fdbb0467c9e5539bd1 | |
parent | ad6a00e9e6b46013cdb8e7476d9e648e837d7e84 (diff) | |
download | passt-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>
-rw-r--r-- | qrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |