From a892fbb4db0a790f36933ac2d8946030ad731e80 Mon Sep 17 00:00:00 2001 From: Lehman Garrison Date: Wed, 27 Nov 2024 15:59:09 -0500 Subject: [PATCH] task generator: add log statement about potential blocking condition --- disbatch/disBatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/disbatch/disBatch.py b/disbatch/disBatch.py index 1f86427..0f89056 100644 --- a/disbatch/disBatch.py +++ b/disbatch/disBatch.py @@ -1023,6 +1023,7 @@ def __init__(self, tasks, filter=None): # We look ahead by one task because we need to actually # start constructing tasks to know if we are done. + logger.info('Fetching first task, could block') self._buffer_next() def __iter__(self):