mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user