made changes

This commit is contained in:
pablorevilla-meshtastic
2026-05-25 09:07:59 -07:00
parent 2ecaaae2a9
commit db04f4dc9f
10 changed files with 50 additions and 145 deletions
-10
View File
@@ -213,16 +213,6 @@ async def daily_cleanup_at(
)
cleanup_logger.info(f"Deleted {result.rowcount} rows from Traceroute")
# -------------------------
# NodePublicKey
# -------------------------
result = await session.execute(
delete(models.NodePublicKey).where(
models.NodePublicKey.last_seen_us < cutoff_us
)
)
cleanup_logger.info(f"Deleted {result.rowcount} rows from NodePublicKey")
# -------------------------
# Node
# -------------------------