health log
This commit is contained in:
parent
59660b2f86
commit
44a950cfab
3 changed files with 71 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import asyncio
|
||||
import re
|
||||
from functools import partial
|
||||
from itertools import chain
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from urllib.parse import urljoin
|
||||
|
|
@ -63,7 +64,7 @@ async def refresh_api_cache(
|
|||
|
||||
results = await asyncio.gather(*tasks)
|
||||
|
||||
data = [event for sublist in results if sublist for event in sublist]
|
||||
data = list(chain(*results))
|
||||
|
||||
for ev in data:
|
||||
ev["ts"] = ev.pop("timestamp")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue