diff --git a/lib/TelegramBot.pm b/lib/TelegramBot.pm index b562855..9edda61 100644 --- a/lib/TelegramBot.pm +++ b/lib/TelegramBot.pm @@ -85,6 +85,9 @@ sub __cron { $pubsub->json ($c->{'redis_router_channel'})->notify ( $c->{'redis_router_channel'} => $rmsg, ); + + # Ratelimit this, just in case + sleep (1); } }