fix
This commit is contained in:
@@ -82,8 +82,7 @@ class SubStackTask:
|
||||
|
||||
while sleep_seconds > 0:
|
||||
# Check if the remaining time is a multiple of 3600 seconds
|
||||
if sleep_seconds % 3600 == 0:
|
||||
LOG.info(f"Waiting for {sleep_seconds} seconds for next scan")
|
||||
LOG.info(f"Waiting for {sleep_seconds} seconds for next scan")
|
||||
|
||||
# Wait for some time before checking again
|
||||
# Here, we choose to wait for less than an hour (e.g., 59 minutes) to ensure we hit the hourly mark
|
||||
|
||||
Reference in New Issue
Block a user