Make connect error retry wait 5 seconds
[lttng-ust.git] / libust / lttng-ust-comm.c
index 1c7b35a36125fa952824898aa11b7ba21c55b794..c97cc37d1e6283210a81604ccafc1bcba5b35269 100644 (file)
@@ -209,6 +209,7 @@ restart:
        if (ret < 0) {
                ERR("Error connecting to global apps socket");
                pthread_mutex_unlock(&lttng_ust_comm_mutex);
+               sleep(5);
                goto restart;
        } else {
                sock_info->socket = sock = ret;
This page took 0.034045 seconds and 4 git commands to generate.