stop telebot to avoid threads limit
This commit is contained in:
@@ -34,6 +34,7 @@ def execute_feed(feed_pk):
|
||||
if last_id:
|
||||
feed.last_id = last_id
|
||||
feed.save()
|
||||
bot.stop_bot()
|
||||
feed.last_check = timezone.now()
|
||||
feed.save()
|
||||
finally:
|
||||
|
Reference in New Issue
Block a user