efreetd - timeout in 2 not 10sec to have fewer hangs on shutdown/exit
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 6 Jun 2019 12:52:20 +0000 (13:52 +0100)
committerHosang Kim <hosang12.kim@samsung.com>
Wed, 12 Jun 2019 05:15:56 +0000 (14:15 +0900)
src/bin/efreet/efreetd_ipc.c

index 949569b..933abfc 100644 (file)
@@ -113,7 +113,7 @@ _cb_client_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
    if (clients == 0)
      {
         if (quit_timer) ecore_timer_del(quit_timer);
-        quit_timer = ecore_timer_add(10.0, _cb_quit_timer, NULL);
+        quit_timer = ecore_timer_add(2.0, _cb_quit_timer, NULL);
      }
    return ECORE_CALLBACK_DONE;
 }
@@ -211,7 +211,7 @@ ipc_init(void)
         ecore_ipc_shutdown();
         return EINA_FALSE;
      }
-   quit_timer = ecore_timer_add(10.0, _cb_quit_timer, NULL);
+   quit_timer = ecore_timer_add(2.0, _cb_quit_timer, NULL);
    hnd_add = ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_ADD,
                                      _cb_client_add, NULL);
    hnd_del = ecore_event_handler_add(ECORE_IPC_EVENT_CLIENT_DEL,