improve buffer emptying
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s

This commit is contained in:
2025-12-03 21:04:59 +01:00
parent 5d27223bca
commit 4429e8466b

View File

@@ -69,7 +69,7 @@ async def on_startup():
# Drain any buffered packets from the sniffer (if it started earlier) # Drain any buffered packets from the sniffer (if it started earlier)
try: try:
# import sniffer here to avoid circular imports at module import time # import sniffer here to avoid circular imports at module import time
from src import sniffer from src import network_sniffer as sniffer
# sniffer provides drain_buffer_to_shared_db() # sniffer provides drain_buffer_to_shared_db()
try: try: