Added more analytics by reporting on the number and kinds of packets each node sends in a 24 hour period.

This commit is contained in:
Pablo Revilla
2025-03-06 15:59:09 -08:00
parent ab5b8a7012
commit a59787a010

View File

@@ -237,11 +237,6 @@ async def get_top_traffic_nodes():
return result.fetchall() # Returns a list of tuples
from sqlalchemy.ext.asyncio import AsyncSession
from sqlalchemy.future import select
async def get_node_traffic(node_id: int):
try:
async with database.async_session() as session: