summaryrefslogtreecommitdiff
path: root/lib/dir_exist_async.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dir_exist_async.h')
-rw-r--r--lib/dir_exist_async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dir_exist_async.h b/lib/dir_exist_async.h
index a02facad..306c9ab9 100644
--- a/lib/dir_exist_async.h
+++ b/lib/dir_exist_async.h
@@ -31,7 +31,7 @@ bool dirExistsUpdating(const Zstring& dirname, bool allowUserInteraction, Proces
//2. check dir existence
return zen::dirExists(dirname);
});
- while (!ft.timed_wait(boost::posix_time::milliseconds(UI_UPDATE_INTERVAL)))
+ while (!ft.timed_wait(boost::posix_time::milliseconds(UI_UPDATE_INTERVAL / 2)))
procCallback.requestUiRefresh(); //may throw!
return ft.get();
}
bgstack15