debug log nonzero backlog

master
bel 2023-03-29 20:08:25 -06:00
parent 96895e1a97
commit 80c51f1e45
1 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,9 @@ class Parser(threading.Thread):
while True:
try:
if environ.get("DEBUG", None):
log(self.inq.qsize())
backlog = self.inq.qsize()
if backlog:
log("Parser.run backlog", backlog)
clip = self.inq.get()
if clip is None:
break