Merge pull request #696 from poettering/automount-expiry-freq

automount: lower the idle polling frequency a bit
This commit is contained in:
Daniel Mack
2015-07-24 10:09:06 +02:00
+1 -1
View File
@@ -672,7 +672,7 @@ static int automount_start_expire(Automount *a) {
assert(a);
timeout = now(CLOCK_MONOTONIC) + MAX(a->timeout_idle_usec/10, USEC_PER_SEC);
timeout = now(CLOCK_MONOTONIC) + MAX(a->timeout_idle_usec/3, USEC_PER_SEC);
if (a->expire_event_source) {
r = sd_event_source_set_time(a->expire_event_source, timeout);