This commit is contained in:
Gaël Honorez
2024-01-02 09:06:40 +01:00
parent a3719f1a35
commit 16d72ffd32

View File

@@ -82,8 +82,7 @@ class SubStackTask:
while sleep_seconds > 0: while sleep_seconds > 0:
# Check if the remaining time is a multiple of 3600 seconds # 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 # 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 # Here, we choose to wait for less than an hour (e.g., 59 minutes) to ensure we hit the hourly mark