comp-manager: reduce the time to wait for the next job
authorsaerome.kim <saerome.kim@samsung.com>
Mon, 22 Jan 2018 12:36:29 +0000 (21:36 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:47 +0000 (19:38 +0900)
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/companion-manager/src/comp_mot_agent.c

index 3bec0f499d7616d9d182a38508d756767051e6ba..064346dd51e69ea7c3859cb534c7c13e18bf1f83 100644 (file)
@@ -697,13 +697,13 @@ static void _agent_signal_handler(GDBusConnection *connection,
                comp_context_t *comp_ctx = comp_context_get_context();
 
                if (comp_ctx && (TRUE == comp_ctx->mot_me) ) {
-                       g_timeout_add(1000, __perform_agent_pairwise, NULL);
+                       g_timeout_add(10, __perform_agent_pairwise, NULL);
                }
        } else if (0 == g_strcmp0(signal_name, "remove_mo_done")) {
                g_variant_get(parameters, "(i)", &result);
                LOG_DEBUG("Result : %d", result);
 
-               g_timeout_add(1000, __perform_remove_cred_at_local, NULL);
+               g_timeout_add(10, __perform_remove_cred_at_local, NULL);
 
        } else if (0 == g_strcmp0(signal_name, "remove_cred_local_done")) {
                g_variant_get(parameters, "(i)", &result);
@@ -732,7 +732,7 @@ static void _agent_signal_handler(GDBusConnection *connection,
                        device_uuid1 = NULL;
                }
 #endif
-               g_timeout_add(1000, __perform_remove_mot_dev2, NULL);
+               g_timeout_add(10, __perform_remove_mot_dev2, NULL);
        }
 }
 static int _subscribe_event()