[sysprof/wip/chergert/control-fd] collector: extend call lifetime for writer access



commit 0ea01c241b1c98c18f0bd81bf0fe734bb8e56af0
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 11 14:49:56 2020 -0800

    collector: extend call lifetime for writer access

 src/libsysprof-capture/sysprof-collector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index 88acd6d..f5de56e 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -162,7 +162,7 @@ request_writer (void)
                                                              g_variant_new ("()"),
                                                              G_VARIANT_TYPE ("(h)"),
                                                              G_DBUS_CALL_FLAGS_NONE,
-                                                             1000, /* 1 second */
+                                                             -1,
                                                              NULL,
                                                              &out_fd_list,
                                                              NULL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]