Skip to content

Commit

Permalink
Bump alarmclock version
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Jul 5, 2016
1 parent a403760 commit 6e80f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Data/Pool.hs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ createPool create destroy numStripes idleTime maxResources = do

-- | Periodically go through all pools, closing any resources that
-- have been left idle for too long.
reapStaleEntries :: (a -> IO ()) -> NominalDiffTime -> V.Vector (TVar Int, TVar [Entry a]) -> AlarmClock -> IO ()
reapStaleEntries :: (a -> IO ()) -> NominalDiffTime -> V.Vector (TVar Int, TVar [Entry a]) -> AlarmClock UTCTime -> IO ()
reapStaleEntries destroy idleTime poolStates alarmClock = do
now <- getCurrentTime
let isStale Entry{..} = now `diffUTCTime` lastUse > idleTime
Expand Down
2 changes: 1 addition & 1 deletion resource-pool.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ library
stm >= 2.3,
time,
vector >= 0.7,
alarmclock >= 0.2.0.3
alarmclock >= 0.4.0.2

if flag(developer)
ghc-options: -Werror
Expand Down

0 comments on commit 6e80f28

Please sign in to comment.