0292dbc
From ad4679efb8ae455d984aa78bb7e264af9646ea29 Mon Sep 17 00:00:00 2001
0292dbc
From: Vratislav Podzimek <vpodzime@redhat.com>
0292dbc
Date: Fri, 30 Sep 2016 12:18:01 +0200
0292dbc
Subject: [PATCH 1/2] Fix the number passed to LVM DBus as a job-creation
0292dbc
 timeout
0292dbc
0292dbc
It's in seconds not milliseconds like the DBus method call timeout.
0292dbc
0292dbc
Resolves: rhbz#1378970
0292dbc
Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
0292dbc
---
0292dbc
 src/plugins/lvm-dbus.c | 2 +-
0292dbc
 1 file changed, 1 insertion(+), 1 deletion(-)
0292dbc
0292dbc
diff --git a/src/plugins/lvm-dbus.c b/src/plugins/lvm-dbus.c
0292dbc
index 844e36e..9500dcb 100644
0292dbc
--- a/src/plugins/lvm-dbus.c
0292dbc
+++ b/src/plugins/lvm-dbus.c
0292dbc
@@ -58,7 +58,7 @@ static gchar *global_config_str = NULL;
0292dbc
 #define DBUS_PROPS_IFACE "org.freedesktop.DBus.Properties"
0292dbc
 #define DBUS_INTRO_IFACE "org.freedesktop.DBus.Introspectable"
0292dbc
 #define DBUS_LONG_CALL_TIMEOUT 10000 /* msecs */
0292dbc
-#define METHOD_CALL_TIMEOUT (DBUS_LONG_CALL_TIMEOUT / 2)
0292dbc
+#define METHOD_CALL_TIMEOUT (DBUS_LONG_CALL_TIMEOUT / 2) / 1000 /* secs */
0292dbc
 
0292dbc
 static GDBusConnection *bus = NULL;
0292dbc
 
0292dbc
-- 
0292dbc
2.7.4
0292dbc