bump TG edit to prevent edit spam for messages since edits count as a send event and too many will result in a 429

resolves #5447
This commit is contained in:
Timothy Carambat
2026-04-15 10:18:32 -07:00
parent 676f305927
commit 29b924e5f7

View File

@@ -1,7 +1,8 @@
/**
* Minimum interval between Telegram message edits (ms) to avoid rate limiting
* https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this
*/
const STREAM_EDIT_INTERVAL = 600;
const STREAM_EDIT_INTERVAL = 1_200;
/**
* Telegram messages cap at 4096 chars. We use 4000 to leave headroom