improve buffer emptying
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user