Tweak logging message when datasync wait times out

This commit is contained in:
Lance Edgar 2016-06-16 13:53:10 -05:00
parent 73f78040af
commit f8ced153f4

View file

@ -458,7 +458,7 @@ class DataSync(Subcommand):
now = datetime.datetime.utcnow()
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)
if (now - last_logged).seconds >= 60: