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:
Evgeny authored and GitHub committed 2024-08-09 22:30:30 +01:00
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