mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
core: reduce usage of STM transactions for better performance and memory usage (#4636)
* core: reduce usage of STM transactions for better performance and memory usage * simplexmq * fix test crash * enable all tests * simplexmq
This commit is contained in:
1 parent
a3550df893
commit
0a4ff2e35f
5 files changed
+13
-15
No files matched your search
@@ -65,7 +65,7 @@ data ServiceState = ServiceState
|
||||
|
||||
newServiceState :: IO ServiceState
|
||||
newServiceState = do
|
||||
searchRequests <- atomically TM.empty
|
||||
searchRequests <- TM.emptyIO
|
||||
pure ServiceState {searchRequests}
|
||||
|
||||
welcomeGetOpts :: IO DirectoryOpts
|
||||
|
||||
Reference in new issue
Block a user