Update comment

This commit is contained in:
David Turner 2015-11-13 15:15:04 +00:00
parent b9b2d0d609
commit badabaa1ca

View File

@ -45,11 +45,14 @@ decodeClientSession key date rhost encrypted = do
---------------------------------------------------------------------- ----------------------------------------------------------------------
-- Mostly copied from Kazu's date-cache, but with modifications -- Originally copied from Kazu's date-cache, but now using mkAutoUpdate.
-- that better suit our needs.
-- --
-- The cached date is updated every 10s, we don't need second -- The cached date is updated every 10s, we don't need second
-- resolution for session expiration times. -- resolution for session expiration times.
--
-- The second component of the returned tuple used to be an action that
-- killed the updater thread, but is now a no-op that's just there
-- to preserve the type.
clientSessionDateCacher :: clientSessionDateCacher ::
NominalDiffTime -- ^ Inactive session valitity. NominalDiffTime -- ^ Inactive session valitity.