mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-04 10:47:51 +00:00
* agent, ntf server: add lookupOrInsertIO, use it for locks and stats * agent, server: use lookupOrInsertIO for map entries * agent: use lookupOrInsertIO for server stats, keep GET lock in one transaction * smp server: update getSubscription comment for lookupOrInsertIO result * agent, server: keep original function names, reduce diff * agent, server: simplify incServerStat and getMessage * agent, ntf server: stat under whenPendingSub, lookupOrInsertIO in addPendingSubs * smp server, session: use lookupOrInsertIO directly, drop the newSub alias * agent, server: fromEither, remove unused incXFTPServerStat' * util: hide UnliftIO fromEither where Util fromEither is used * agent, server: use either id id, remove fromEither * agent, server: keep isPendingSub, reword service delivery comment