Files
picoclaw/pkg
esubaalew 29e9b6b4b5 fix(wecom): replace dedupe map rotation with circular queue
The previous dedupe map rotation logic completely cleared the map when it reached max size, causing an 'amnesia cliff' where immediately arriving duplicates of just-forgotten messages would be processed.

This change replaces that with a MessageDeduplicator struct that uses a circular queue (ring buffer) to track insertions. When the limit is reached, it only evicts the absolute oldest message from the map, completely resolving the cliff issue.

This also cleans up the WeCom Bot and App webhook handlers by encapsulating the mutex and map state.
2026-03-02 18:50:51 +03:00
..
2026-03-01 18:17:32 +11:00
2026-02-25 21:31:07 +11:00
2026-03-01 18:17:32 +11:00
2026-02-18 21:48:23 +02:00
2026-03-02 11:59:26 +11:00
2026-02-20 22:35:16 +02:00