mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-26 19:35:14 +00:00
increase database transaction timeout, add test for user deletion (#622)
* increase database transaction timeout, add test for user deletion * more test logs
This commit is contained in:
committed by
GitHub
parent
ff038b492c
commit
7fb48930f6
@@ -296,7 +296,7 @@ withConnection SQLiteStore {dbConnection} =
|
||||
(atomically . putTMVar dbConnection)
|
||||
|
||||
withTransaction :: forall a. SQLiteStore -> (DB.Connection -> IO a) -> IO a
|
||||
withTransaction st action = withConnection st $ loop 500 2_000_000
|
||||
withTransaction st action = withConnection st $ loop 500 3_000_000
|
||||
where
|
||||
loop :: Int -> Int -> DB.Connection -> IO a
|
||||
loop t tLim db =
|
||||
|
||||
Reference in New Issue
Block a user