This PR reworks on the live notification update feature. The current implementation uses more of a hack to bypass 429 errors from Telegram by adding custom delays and sending in batches. This degrades bot's performance with unnecessary waiting and overhead. The new implementation uses a redis based queue to queue up the updates and send them until 429 is hit. Once hit, a delay of retry_after is added and the process continues.
This PR reworks on the live notification update feature. The current implementation uses more of a hack to bypass 429 errors from Telegram by adding custom delays and sending in batches. This degrades bot's performance with unnecessary waiting and overhead. The new implementation uses a redis based queue to queue up the updates and send them until 429 is hit. Once hit, a delay of
retry_after
is added and the process continues.