yesod-session-persist-0.0.0.2: SQL session backend for Yesod
Safe HaskellSafe-Inferred
LanguageGHC2021

Session.Timing.Options

Synopsis

Documentation

data TimingOptions a Source #

Time duration settings

See defaultTimingOptions.

Constructors

TimingOptions 

Fields

  • timeout :: Timeout a

    How long sessions are allowed to live

  • resolution :: Maybe a

    If Just resolution, this setting provides an optimization that can prevent excessive database writes. If the only thing that needs to be updated is the session's last access time, the write will be skipped if the previously recorded access time is within resolution long ago.

Instances

Instances details
Show a => Show (TimingOptions a) Source # 
Instance details

Defined in Session.Timing.Options

Eq a => Eq (TimingOptions a) Source # 
Instance details

Defined in Session.Timing.Options

defaultTimingOptions :: TimingOptions NominalDiffTime Source #

Default timing options