faster retry
authorJulien Desfossez <jdesfossez@efficios.com>
Sat, 8 Feb 2014 04:49:30 +0000 (23:49 -0500)
committerJulien Desfossez <jdesfossez@efficios.com>
Sat, 8 Feb 2014 04:49:30 +0000 (23:49 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/liblttng-live.c
src/lttngtop.c

index 117b851b436173cbf06b073c84811ddb94637bc0..8d91e3219ac77eba8638073d942c63ccf2fecae5 100644 (file)
@@ -888,7 +888,7 @@ retry:
                break;
        case LTTNG_VIEWER_INDEX_RETRY:
                printf_verbose("get_next_index: retry\n");
-               sleep(1);
+               sleep(0.1);
                goto retry;
        case LTTNG_VIEWER_INDEX_HUP:
                printf_verbose("get_next_index: stream hung up\n");
index dd3130d975adac8dc736f4a3858606af29ac850f..f7af659af385b3032a35dbe59d6ee0427e334360 100644 (file)
@@ -1107,6 +1107,7 @@ int main(int argc, char **argv, char **envp)
        int ret;
        struct bt_context *bt_ctx = NULL;
 
+       //babeltrace_verbose = 1;
        init_lttngtop();
        ret = parse_options(argc, argv);
        if (ret < 0) {
This page took 0.024417 seconds and 4 git commands to generate.