master #47

Merged
emmatveev merged 4 commits from master into dev 2024-12-31 02:50:32 +03:00
Showing only changes of commit 5a8d6c6488 - Show all commits

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: