Preliminary stab at app scan locking; pndnotifyd creates logfile /tmp/whatever and...
[pandora-libraries.git] / deployment / etc / pandora / conf / mmenu.conf
index 496dac3..69e2e57 100644 (file)
@@ -32,6 +32,9 @@ desktop_apps          1       # search the pnd standard desktop searchpath for apps
 menu_apps              1       # search the pnd standard menu searchpath for apps
 aux_searchpath         /media/*/pandora/mmenu:/usr/pandora/mmenu # if something here, also search this path; can be used for mmenu-only apps?
 auto_rescan            1       # if >0, will automaticly rescan for applications, if SD inserts/ejects
+disco_lock_max         20      # number of tries to check lock (at 1/5th sec each, 20 == 4 seconds)
+disco_lock_usec_delta  500000  # number of usec between lockfile checks; 200000 is 1/5th second
+disco_lock_maxage_s    120     # number of seconds .. if lockfile is that old or older, just ignore it entirely
 
 [utility]
 terminal               /usr/bin/Terminal       # could also be /usr/bin/xterm, or a sh-script, or whatever