From c2e380b12b0aabe0216d6ab34a8d99dff40643ff Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Wed, 21 Dec 2011 12:15:23 -0700
Subject: [PATCH] bugfix - cache primaries declaration of support for up to 6
 hours, not six minutes

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

diff --git a/lib/browserid/primary.js b/lib/browserid/primary.js
index 442f7b046..f2a8543d1 100644
--- a/lib/browserid/primary.js
+++ b/lib/browserid/primary.js
@@ -47,7 +47,7 @@ jwk = require('jwcrypto/jwk');
 const WELL_KNOWN_URL = "/.well-known/vep";
 
 // cache .well-known/vep for six hours
-const MAX_CACHE_MS = (6 * 60 * 1000);
+const MAX_CACHE_MS = (6 * 60 * 60 * 1000);
 
 function parseWellKnownBody(body, domain) {
   var v = JSON.parse(body);
-- 
GitLab