Don't cover a few error cases and odd ball things

This commit is contained in:
Trenton H
2026-01-12 12:21:44 -08:00
parent 348bc9e2b8
commit bf9f82ceee

View File

@@ -550,10 +550,10 @@ class Command(BaseCommand):
elif is_testing:
# In testing, use short timeout to check stop flag
timeout_ms = testing_timeout_ms
else:
else: # pragma: nocover
# No pending files, wait indefinitely
timeout_ms = 0
except KeyboardInterrupt:
except KeyboardInterrupt: # pragma: nocover
logger.info("Received interrupt, stopping consumer")
self.stop_flag.set()