agessaman
b20e20925d
refactor: one query for the unique recent repeater behind a path prefix
...
Seven places in message_handler and graph_trace_helper ran the same pair of queries, byte for byte: count the repeaters and room servers whose key starts with the prefix and were heard within the recency window, and if exactly one was, fetch its key (starred first, then most recent). contacts_repo.unique_recent_repeater_key now runs it and returns (count, key); each caller keeps its own logging, including the two that report the match count. Same queries, same order, same handling of execute_query's empty result on a database error.
2026-10-01 11:02:57 -07:00
..
2026-07-28 20:08:57 -07:00
2026-10-01 09:26:01 -07:00
2026-10-01 07:44:19 -07:00
2026-10-01 09:18:31 -07:00
2026-10-01 08:11:27 -07:00
2026-10-01 06:14:25 -07:00
2026-09-07 15:13:18 -07:00
2026-05-30 21:54:27 -07:00
2026-10-01 01:15:19 -07:00
2026-10-01 09:26:01 -07:00
2026-07-07 09:37:28 -07:00
2026-09-22 16:21:54 -07:00
2026-07-28 20:07:58 -07:00
2026-09-15 22:34:46 -07:00
2026-10-01 11:02:57 -07:00
2026-10-01 06:53:14 -07:00
2026-07-16 10:21:50 -07:00
2026-09-15 22:34:46 -07:00
2026-09-15 22:34:46 -07:00
2026-07-30 08:06:21 -07:00
2026-09-07 15:45:49 -07:00
2026-10-01 06:53:14 -07:00
2026-10-01 06:00:29 -07:00
2026-10-01 01:59:03 -07:00
2026-10-01 11:02:57 -07:00
2026-10-01 01:38:51 -07:00
2026-09-07 20:28:45 -07:00
2026-08-22 00:16:03 -07:00
2026-10-01 02:16:16 -07:00
2026-07-28 12:44:53 -07:00
2026-10-01 06:53:14 -07:00
2026-10-01 06:14:25 -07:00
2026-10-01 07:26:06 -07:00
2026-08-02 09:48:05 -07:00
2026-09-14 21:31:11 -07:00
2026-10-01 11:02:57 -07:00
2026-10-01 02:02:34 -07:00
2026-09-19 09:12:07 -07:00
2026-10-01 07:44:19 -07:00
2026-10-01 05:54:56 -07:00
2026-07-28 20:08:23 -07:00
2026-10-01 06:53:14 -07:00
2026-04-14 10:14:38 -07:00
2026-10-01 07:06:34 -07:00
2026-09-23 21:38:19 -07:00
2026-09-23 21:38:19 -07:00
2026-10-01 09:41:06 -07:00
2026-09-07 16:16:33 -07:00
2026-10-01 02:27:35 -07:00
2026-08-21 23:32:45 -07:00
2026-08-04 20:33:26 -07:00
2026-10-01 07:26:06 -07:00
2026-10-01 02:27:35 -07:00
2026-07-22 14:15:51 -07:00
2026-07-16 10:40:37 -07:00
2026-09-13 18:36:29 -07:00
2026-07-28 20:07:58 -07:00
2026-07-28 17:14:57 -07:00
2026-07-28 20:08:57 -07:00
2026-09-07 15:45:49 -07:00
2026-10-01 01:07:29 -07:00
2026-08-02 09:48:05 -07:00
2026-10-01 06:29:04 -07:00