Fix interval options in mgm

This commit is contained in:
Andrew Hutchings 2012-10-11 15:11:26 +01:00
parent 822552cf18
commit eadb9a69db

View File

@ -96,8 +96,12 @@ def main():
help='number of nodes'
)
options.parser.add_argument(
'--interval', type=int, default=5,
help='how often to poll API server (in minutes)'
'--check_interval', type=int, default=5,
help='how often to check if new nodes are needed (in minutes)'
)
options.parser.add_argument(
'--sync_interval', type=int, default=60,
help='how often to sync node lost (in minutes)'
)
args = options.run()