From 943537417e9586116270f37519bc23e374dd375f Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Fri, 9 Nov 2018 00:27:58 +0100
Subject: [PATCH] refactor(docker): reduce cache time to 15 mins

---
 lib/datasource/docker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/datasource/docker.js b/lib/datasource/docker.js
index 391a585fe9..71f73f9c6a 100644
--- a/lib/datasource/docker.js
+++ b/lib/datasource/docker.js
@@ -230,7 +230,7 @@ async function getTags(registry, repository) {
     } while (url && page < 20);
     logger.debug({ length: tags.length }, 'Got docker tags');
     logger.trace({ tags });
-    const cacheMinutes = 30;
+    const cacheMinutes = 15;
     await renovateCache.set(cacheNamespace, cacheKey, tags, cacheMinutes);
     return tags;
   } catch (err) /* istanbul ignore next */ {
-- 
GitLab