fix #46

Merged
emmatveev merged 1 commits from master into prod 2024-12-28 14:23:41 +03:00

View File

@ -21,6 +21,7 @@ class TasksHandlerMixin:
response = requests.get(f'{QUEUES_URL}/api/v1/take', headers={'queue': self.queue_name}).json()
except requests.JSONDecodeError:
print('Unable to decode json')
time.sleep(3)
continue
task = response.get('task')
if not task: