diff --git a/lib/basedriver/helpers.js b/lib/basedriver/helpers.js index 0fa804e93..99662fbbe 100644 --- a/lib/basedriver/helpers.js +++ b/lib/basedriver/helpers.js @@ -21,7 +21,7 @@ const APPLICATIONS_CACHE = new LRU({ dispose: (app, {fullPath}) => { logger.info(`The application '${app}' cached at '${fullPath}' has ` + `expired after ${CACHED_APPS_MAX_AGE}ms`); - setTimeout(0, async () => { + setTimeout(async () => { if (fullPath && await fs.exists(fullPath)) { await fs.rimraf(fullPath); }