From a7869d3ab126889d140ddc4497e7ee77122cad42 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Tue, 30 Sep 2025 13:05:04 +0100 Subject: [PATCH] core: update simplexmq (fix file reception, optimize subscriptions) --- cabal.project | 2 +- scripts/nix/sha256map.nix | 2 +- src/Simplex/Chat/Store/SQLite/Migrations/agent_query_plans.txt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cabal.project b/cabal.project index 622a0d2069..8541d6ca0e 100644 --- a/cabal.project +++ b/cabal.project @@ -12,7 +12,7 @@ constraints: zip +disable-bzip2 +disable-zstd source-repository-package type: git location: https://github.com/simplex-chat/simplexmq.git - tag: 99f40ae109fba4e39684056fc9acf96bb6cc8c26 + tag: 9854caca331f6c85f4d76db47f8eb3d205fa7eee source-repository-package type: git diff --git a/scripts/nix/sha256map.nix b/scripts/nix/sha256map.nix index 47be471d3d..0b342c8dd1 100644 --- a/scripts/nix/sha256map.nix +++ b/scripts/nix/sha256map.nix @@ -1,5 +1,5 @@ { - "https://github.com/simplex-chat/simplexmq.git"."99f40ae109fba4e39684056fc9acf96bb6cc8c26" = "04k7g4q0jlbg14wx47w076vk0q6dh709vw24n1q5im77y5z0v0ak"; + "https://github.com/simplex-chat/simplexmq.git"."9854caca331f6c85f4d76db47f8eb3d205fa7eee" = "1wldnkp1ivf1b7qa39lldkvgyh08948dvg2sicdjg7har4ygwwl7"; "https://github.com/simplex-chat/hs-socks.git"."a30cc7a79a08d8108316094f8f2f82a0c5e1ac51" = "0yasvnr7g91k76mjkamvzab2kvlb1g5pspjyjn2fr6v83swjhj38"; "https://github.com/simplex-chat/direct-sqlcipher.git"."f814ee68b16a9447fbb467ccc8f29bdd3546bfd9" = "1ql13f4kfwkbaq7nygkxgw84213i0zm7c1a8hwvramayxl38dq5d"; "https://github.com/simplex-chat/sqlcipher-simple.git"."a46bd361a19376c5211f1058908fc0ae6bf42446" = "1z0r78d8f0812kxbgsm735qf6xx8lvaz27k1a0b4a2m0sshpd5gl"; diff --git a/src/Simplex/Chat/Store/SQLite/Migrations/agent_query_plans.txt b/src/Simplex/Chat/Store/SQLite/Migrations/agent_query_plans.txt index b2b4cd87ae..418ff56f48 100644 --- a/src/Simplex/Chat/Store/SQLite/Migrations/agent_query_plans.txt +++ b/src/Simplex/Chat/Store/SQLite/Migrations/agent_query_plans.txt @@ -63,9 +63,11 @@ Query: SELECT rcv_file_chunk_id, chunk_no, chunk_size, digest, tmp_path FROM rcv_file_chunks WHERE rcv_file_id = ? + ORDER BY chunk_no ASC Plan: SEARCH rcv_file_chunks USING INDEX idx_rcv_file_chunks_rcv_file_id (rcv_file_id=?) +USE TEMP B-TREE FOR ORDER BY Query: SELECT snd_file_chunk_id, chunk_no, chunk_offset, chunk_size, digest