From 8dc54fc921d39fa2bc91efa7c90dd93d56492f49 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 11 Oct 2015 07:28:52 +0000 Subject: [PATCH] Update maximum expiry once per day --- yesod-core/Yesod/Core/Dispatch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-core/Yesod/Core/Dispatch.hs b/yesod-core/Yesod/Core/Dispatch.hs index e7b0c23a..7911877d 100644 --- a/yesod-core/Yesod/Core/Dispatch.hs +++ b/yesod-core/Yesod/Core/Dispatch.hs @@ -240,5 +240,5 @@ warpEnv site = do getGetMaxExpires :: IO (IO Text) getGetMaxExpires = mkAutoUpdate defaultUpdateSettings { updateAction = getCurrentMaxExpiresRFC1123 - , updateFreq = 60 * 60 * 1000000 -- Update once per hour + , updateFreq = 24 * 60 * 60 * 1000000 -- Update once per day }