mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-06 18:37:23 +00:00
smp-server: fix queue cache collisions and leaks
This commit is contained in:
@@ -83,6 +83,8 @@ instance StoreQueueClass PostgresQueue where
|
||||
{-# INLINE queueRec #-}
|
||||
withQueueLock PostgresQueue {} _ = id -- TODO [messages] maybe it's just transaction?
|
||||
{-# INLINE withQueueLock #-}
|
||||
removeQueueLock _ = pure ()
|
||||
{-# INLINE removeQueueLock #-}
|
||||
|
||||
newtype DBTransaction = DBTransaction {dbConn :: DB.Connection}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user