efreetd - timeout in 2 not 10sec to have fewer hangs on shutdown/exit

This commit is contained in:
Carsten Haitzler 2019-06-06 13:52:20 +01:00
parent 1f8d367138
commit 08ea94e9f9
1 changed files with 2 additions and 2 deletions

View 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,