Skip to content

Commit

Permalink
fix minor wait time bug in nightwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Mar 22, 2022
1 parent c745431 commit 588bcc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/changes.rst
Expand Up @@ -2,10 +2,10 @@
Change Log
==========

0.7.1 (unreleased)
0.7.1 (2022-03-22)
------------------

* No changes yet.
* Minor fix to wait times for nightwatch transfer. No other changes.

0.7.0 (2022-03-22)
------------------
Expand Down
2 changes: 1 addition & 1 deletion py/desitransfer/_version.py
@@ -1 +1 @@
__version__ = '0.7.1.dev390'
__version__ = '0.7.1'
4 changes: 2 additions & 2 deletions py/desitransfer/nightwatch.py
Expand Up @@ -139,10 +139,10 @@ def main():
#
# See if we are in the idle period: 08:00 - 12:00 MST
#
wait = idle_time()
idle_wait = idle_time()
if wait > 0:
log.info('Idle time detected. Sleeping until approximately 12:00 MST.')
time.sleep(wait)
time.sleep(idle_wait)
log.info('Starting nightwatch transfer loop; desitransfer version = %s.',
dtVersion)
if os.path.exists(options.kill):
Expand Down

0 comments on commit 588bcc4

Please sign in to comment.