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:
Carsten Haitzler 2019-08-09 19:09:25 +01:00
parent 769fa4b592
commit 8531380de0
1 changed files with 2 additions and 2 deletions

View File

@ -122,10 +122,10 @@ _ipc_launch(void)
else
snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd");
ecore_exe_run(buf, NULL);
while ((!ipc) && (num < 500))
while ((!ipc) && (num < 200))
{
num++;
usleep(1000);
usleep(10000);
ipc = ecore_ipc_server_connect(ECORE_IPC_LOCAL_USER, "efreetd", 0, NULL);
}
}