mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-05-17 18:51:51 +02:00
Compare commits
6 commits
3d209fed22
...
0204a01e66
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0204a01e66 | ||
![]() |
c3879e081f | ||
![]() |
7ab6685e45 | ||
![]() |
ff3b531ace | ||
![]() |
4e041c9fb4 | ||
![]() |
0fb6d4a392 |
3 changed files with 2 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
VERSION = "0.7.0"
|
||||
VERSION = "0.6.1"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue