refactor monitor, add threshold rtesting
This commit is contained in:
+2
-3
@@ -43,9 +43,8 @@ def main(argv=None):
|
||||
config["verbose"] = True
|
||||
if args.pushsrv:
|
||||
config["pushsrv"] = args.pushsrv
|
||||
if args.debug:
|
||||
config.setdefault("debug", 0)
|
||||
config["debug"] += args.debug
|
||||
if args.debug > 0:
|
||||
config["debug"] = args.debug
|
||||
|
||||
run_server(config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user