Compare commits

..

6 commits

3 changed files with 2 additions and 8 deletions

View file

@ -2,10 +2,6 @@
## [Unreleased]
## 0.7.0
Date: 2025-01-14
- ✨ — IPv4/IPv6 choice for checks, and choice for a dual-stack check (#69)
- ⚡ — Mutualize check requests (#68)
- ✨ — Ability to delay notification after X failures (#71)

View file

@ -1 +1 @@
VERSION = "0.7.0"
VERSION = "0.6.1"

View file

@ -164,7 +164,6 @@ class ArgosAgent: # pylint: disable-msg=too-many-instance-attributes
logger.info("Received %i tasks from the server", len(data))
req_groups = {}
_tasks = []
for _task in data:
task = Task(**_task)
@ -188,7 +187,6 @@ class ArgosAgent: # pylint: disable-msg=too-many-instance-attributes
"method": task.method,
"request_data": task.request_data,
}
_tasks.append(_task)
requests = []
for group, details in req_groups.items():
@ -198,7 +196,7 @@ class ArgosAgent: # pylint: disable-msg=too-many-instance-attributes
await asyncio.gather(*requests)
tasks = []
for task in _tasks:
for task in response.json():
tasks.append(self._complete_task(task))
if tasks: