Commit db4ea75e authored by Felix Seibert's avatar Felix Seibert
Browse files

changing repeat interval and verify output

parent dc03fc69
......@@ -265,7 +265,7 @@ class OSDManager(object):
# (if an error is returned for another reason than that one would delete the last complete replica,
# this will probably not work.
iterations = 0
max_iterations = 5000 # e.g. approximately 24h with the default repeat interval of 15 secs
max_iterations = 5
while True:
if iterations >= max_iterations:
print("results of last iteration: ")
......
......@@ -66,8 +66,8 @@ if args.debug:
if args.verify:
good_layout = verify.verify_gms_folder(vars(args)['target-folder'][0])
print("good_layout: ", good_layout)
if not good_layout:
verify.print_tree(vars(args)['target-folder'][0])
# if not good_layout:
# verify.print_tree(vars(args)['target-folder'][0])
sys.exit(0)
x_man = OSDManager.OSDManager(vars(args)['target-folder'][0], debug=args.debug)
......
import os
import subprocess
import div_util
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment