Mr.NightQ
b1d03b4057
fix: keep Telegram command sync process-local ( #66730 ) (thanks @nightq)
...
* fix: use process-scoped cache for Telegram command sync to fix missing menu after restart
Fixes openclaw#66714, openclaw#66682
Root cause: The command hash cache was persisted to disk across gateway
restarts. When the hash matched (commands unchanged), setMyCommands was
skipped entirely. But Telegram bot commands can be cleared by external
factors, so the cached state becomes stale after restart.
Fix: Replace file-based hash cache with a process-scoped Map. This preserves
the rapid-restart rate-limit protection within a single process, but ensures
commands are always re-registered after a gateway restart.
* fix(telegram): drop stale async command cache calls
* fix: keep Telegram command sync process-local (#66730 ) (thanks @nightq)
---------
Co-authored-by: nightq <zengwei@nightq.cn >
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-04-15 08:02:23 +05:30
..
2026-04-12 10:37:18 -07:00
2026-04-13 16:05:43 -05:00
2026-04-12 10:37:18 -07:00
2026-04-14 16:37:29 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 16:37:29 +01:00
2026-04-14 16:37:29 +01:00
2026-04-14 16:34:09 +01:00
2026-04-14 19:20:42 -07:00
2026-04-12 10:37:18 -07:00
2026-04-14 16:30:43 +08:00
2026-04-14 14:59:01 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-13 19:22:09 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-10 19:46:23 -05:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-14 18:58:36 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-14 16:38:01 -04:00
2026-04-14 17:59:28 -05:00
2026-04-14 16:34:09 +01:00
2026-04-14 09:58:19 +01:00
2026-04-14 17:13:31 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:20:46 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:13:31 +01:00
2026-04-14 16:16:34 +01:00
2026-04-13 16:05:50 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-13 17:45:06 +08:00
2026-04-13 20:38:46 +02:00
2026-04-14 17:01:59 -04:00
2026-04-13 17:47:29 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 20:29:12 -04:00
2026-04-12 10:37:18 -07:00
2026-04-14 18:58:36 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:13:31 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:13:31 +01:00
2026-04-13 23:52:30 +05:30
2026-04-13 20:49:39 -07:00
2026-04-13 18:07:23 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 16:34:09 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 21:52:16 +05:30
2026-04-14 16:48:02 +01:00
2026-04-14 16:48:02 +01:00
2026-04-14 17:13:31 +01:00
2026-04-13 00:20:51 +01:00
2026-04-12 10:37:18 -07:00
2026-04-10 21:55:28 +01:00
2026-04-14 17:59:37 -04:00
2026-04-14 17:37:18 -04:00
2026-04-14 21:16:48 -04:00
2026-04-12 10:37:18 -07:00
2026-04-14 15:38:10 +10:00
2026-04-12 10:37:18 -07:00
2026-04-14 15:14:26 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-03 16:39:47 +01:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:59:28 -05:00
2026-04-12 19:41:13 -03:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-10 20:14:49 +01:00
2026-04-12 10:37:18 -07:00
2026-04-15 08:02:23 +05:30
2026-04-11 01:37:23 +01:00
2026-04-13 16:45:58 +01:00
2026-04-14 14:59:01 +01:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-12 10:37:18 -07:00
2026-04-13 16:51:16 -06:00
2026-04-12 10:37:18 -07:00
2026-04-14 14:59:01 +01:00
2026-04-12 10:37:18 -07:00
2026-04-15 00:38:45 +01:00
2026-04-14 17:59:28 -05:00
2026-04-12 10:37:18 -07:00
2026-04-14 17:13:31 +01:00
2026-04-13 15:36:35 +01:00
2026-04-14 17:20:46 +01:00
2026-04-12 09:09:50 +01:00
2026-04-06 19:15:31 +01:00
2026-04-06 15:38:04 +01:00
2026-04-09 23:59:00 +01:00
2026-04-14 14:59:01 +01:00