summaryrefslogtreecommitdiffstats
path: root/src/ideviceinstaller.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-28 03:03:59 +0100
committerGravatar Martin Szulecki2015-01-28 03:03:59 +0100
commite6160b1fd747a8e9e12045e3b8a7be708f1399e5 (patch)
treef837e5cb3364f4c3a760c94b33983e2eb9ca1bc5 /src/ideviceinstaller.c
parent1461c9607631bd96d36fdb5c495e6d80ae348446 (diff)
downloadideviceinstaller-e6160b1fd747a8e9e12045e3b8a7be708f1399e5.tar.gz
ideviceinstaller-e6160b1fd747a8e9e12045e3b8a7be708f1399e5.tar.bz2
Reduce sleep time in wait handler to increase performance of commands
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r--src/ideviceinstaller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index 189af45..8f66495 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -334,7 +334,7 @@ static void idevice_wait_for_command_to_complete()
{
struct timespec ts;
ts.tv_sec = 0;
- ts.tv_nsec = 500000000;
+ ts.tv_nsec = 50000000;
is_device_connected = 1;
/* subscribe to make sure to exit on device removal */