Tweak logging message when datasync wait times out
This commit is contained in:
parent
73f78040af
commit
f8ced153f4
|
@ -458,7 +458,7 @@ class DataSync(Subcommand):
|
||||||
now = datetime.datetime.utcnow()
|
now = datetime.datetime.utcnow()
|
||||||
|
|
||||||
if args.timeout and (now - started).seconds >= (args.timeout * 60):
|
if args.timeout and (now - started).seconds >= (args.timeout * 60):
|
||||||
log.warning("wait timeout has been reached, bailing early")
|
log.warning("timed out after {} minutes, with {} changes in queue".format(args.timeout, count))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if (now - last_logged).seconds >= 60:
|
if (now - last_logged).seconds >= 60:
|
||||||
|
|
Loading…
Reference in a new issue