forked from enlightenment/efl
efreet - be more patient for efreet to start - up to 2 sec now
seems people have issues with efreetd starting in 0.5 sec on some systems... even rpi's manage that, but lets be more patient and wait up to 2 sec
This commit is contained in:
parent
769fa4b592
commit
8531380de0
|
@ -122,10 +122,10 @@ _ipc_launch(void)
|
||||||
else
|
else
|
||||||
snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd");
|
snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd");
|
||||||
ecore_exe_run(buf, NULL);
|
ecore_exe_run(buf, NULL);
|
||||||
while ((!ipc) && (num < 500))
|
while ((!ipc) && (num < 200))
|
||||||
{
|
{
|
||||||
num++;
|
num++;
|
||||||
usleep(1000);
|
usleep(10000);
|
||||||
ipc = ecore_ipc_server_connect(ECORE_IPC_LOCAL_USER, "efreetd", 0, NULL);
|
ipc = ecore_ipc_server_connect(ECORE_IPC_LOCAL_USER, "efreetd", 0, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue