Add debugging
This commit is contained in:
parent
b2fab07eb8
commit
519dbe1ac2
1 changed files with 1 additions and 0 deletions
|
@ -1415,6 +1415,7 @@ expireProSessions :: Pipe -> T.Text -> IO ()
|
|||
expireProSessions pipe db = do
|
||||
now <- getCurrentTime
|
||||
psessions <- access pipe master db $ findExpiringProSessions now
|
||||
print $ length psessions
|
||||
let pSessObj = cast' . Doc <$> psessions
|
||||
mapM_ (sendExpiration pipe db) pSessObj
|
||||
where
|
||||
|
|
Loading…
Reference in a new issue