diff --git a/feeds/tasks.py b/feeds/tasks.py index 671dc28..65b49de 100644 --- a/feeds/tasks.py +++ b/feeds/tasks.py @@ -30,11 +30,11 @@ def execute_feed(feed_pk): try: feed = Feed.objects.get(pk=feed_pk) - if not feed.lock: - feed.lock = True - feed.save() - else: - raise Reject('Lock', requeue=False) + # if not feed.lock: + # feed.lock = True + # feed.save() + # else: + # raise Reject('Lock', requeue=False) bot = TeleBot(config.feed_bot_token, threaded=False) print(f'Last ID for "{feed}" = "{feed.last_id}"')