Skip to content

Commit

Permalink
Merge pull request #66 from vfedotovs/GH64_reduce_check_log_event_count
Browse files Browse the repository at this point in the history
Fixed reduce redundant log event count in ts.py  issue #64
  • Loading branch information
vfedotovs committed Jan 16, 2022
2 parents 33ba2c3 + 48788f3 commit 9e20213
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions task_scheduler/ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def execute_ogre_task():


while True:
log.info('ts_loop: checking every 300 sec if cheduled task needs to run again...')
log.info('ts_loop: checking every 3000 sec if cheduled task needs to run again...')
schedule.run_pending()
# waiting 1 min before checking if new run is needed
time.sleep(300)
time.sleep(3000)

0 comments on commit 9e20213

Please sign in to comment.