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>
This commit is contained in:
parent
ad6a00e9e6
commit
2757d3c0b6
1 changed files with 1 additions and 1 deletions
2
qrap.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue