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 117b851..8d91e32 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 dd3130d..f7af659 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.030464 seconds and 4 git commands to generate.