Skip to content

Commit 7cf6277

Browse files
committed
Disable redundant logging for queued IRIS jobs
1 parent 40b66b1 commit 7cf6277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dlstbx/services/cloudwatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def watch_jobs(self, rw, header, message):
219219
else:
220220
message_delay = 1
221221
# Log job status update when runtime values in seconds are near powers of 2.
222-
logging_threshold = int(log2(max(runtime, 2))) - int(
222+
logging_threshold = int(log2(max(runtime, 1))) - int(
223223
log2(max(runtime - 3 * message_delay, 1))
224224
)
225225
if logging_threshold:

0 commit comments

Comments
 (0)