forked from enlightenment/efl
ethumbd - set default timeout for ethumbd to 2 seconds
This commit is contained in:
parent
8fc3c9c8bc
commit
64f8ea918c
|
@ -941,6 +941,7 @@ _ethumb_dbus_ethumb_new_cb(const Eldbus_Service_Interface *interface, const Eldb
|
||||||
EINA_TRUE);
|
EINA_TRUE);
|
||||||
_ethumbd_child_write_op_new(&ed->slave, i);
|
_ethumbd_child_write_op_new(&ed->slave, i);
|
||||||
_ethumbd_timeout_stop(ed);
|
_ethumbd_timeout_stop(ed);
|
||||||
|
_ethumbd_timeout_start(ed);
|
||||||
|
|
||||||
end_new:
|
end_new:
|
||||||
reply = eldbus_message_method_return_new(msg);
|
reply = eldbus_message_method_return_new(msg);
|
||||||
|
@ -1689,7 +1690,7 @@ main(int argc, char *argv[])
|
||||||
int arg_idx;
|
int arg_idx;
|
||||||
Ethumbd ed;
|
Ethumbd ed;
|
||||||
int child;
|
int child;
|
||||||
double timeout = -1;
|
double timeout = 2.0;
|
||||||
|
|
||||||
memset(&ed, 0, sizeof(ed));
|
memset(&ed, 0, sizeof(ed));
|
||||||
ecore_init();
|
ecore_init();
|
||||||
|
|
Loading…
Reference in New Issue