• spiiroin's avatar
    [worker] Adjust mtp daemon start/stop timeouts · 566b7a6e
    spiiroin authored
    In devices that have lots of files (say tens of thousands), mtp daemon
    might have trouble getting everything enumerated within 30 second timeout
    allowed by usb-moded.
    
    Use 2 minute timeout for starting, and 15 second timeout for stopping
    mtp daemon.
    
    Implement a generic wait for condition/timeout function that can also
    be interrupted from main thread. Use the wait function for both regular
    blocking sleeps and waiting for mtp daemon starting/stopping.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    566b7a6e
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.depend Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.custom Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-static.h Loading commit data...
configure.ac Loading commit data...
depend_filter.py Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...