BulletBot icon indicating copy to clipboard operation
BulletBot copied to clipboard

Webhook resub spam

Open Jet132 opened this issue 5 years ago • 0 comments

Describe the bug The bot, when restarted several times, spam resubs to all youtube webhooks.

To Reproduce Steps to reproduce the behavior:

  1. Restart the bot several times
  2. Watch the logs as it resubs multiple times

Expected behavior It actually should just resub once every few days.

Solution When the bot starts it checks if there is already a PAction webhook resub task and if there isn't it creates one. This ensures that the webhooks are always resubbed so they never expire. It seems that the check is broken so it just creates a task each time.

Jet132 avatar Feb 06 '20 12:02 Jet132