Skip to content

Commit

Permalink
Decrease default permissible clock skew to 2s (#1279)
Browse files Browse the repository at this point in the history
Closes #1278
  • Loading branch information
amesgen authored Oct 9, 2024
2 parents 16fa875 + 1d5dae4 commit 92a8330
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Non-Breaking

- Decrease the maximum permissible clock skew from 5s to 2s.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ newtype ClockSkew = ClockSkew { unClockSkew :: NominalDiffTime }

-- | Default maximum permissible clock skew
--
-- See 'ClockSkew' for details. We allow for 5 seconds skew by default.
-- See 'ClockSkew' for details. We allow for 2 seconds skew by default.
defaultClockSkew :: ClockSkew
defaultClockSkew = clockSkewInSeconds 5
defaultClockSkew = clockSkewInSeconds 2

-- | Specify maximum clock skew in seconds
clockSkewInSeconds :: Double -> ClockSkew
Expand Down

0 comments on commit 92a8330

Please sign in to comment.