Skip to content
Permalink
Browse files

fix(parser): set dump_interval to -1

  • Loading branch information...
hanxiao committed Sep 11, 2019
1 parent 787d0f1 commit f89b43633632ccfcf6f0c56cfd969bf7dcb4f315
Showing with 2 additions and 2 deletions.
  1. +2 −2 gnes/cli/parser.py
@@ -137,8 +137,8 @@ def set_service_parser(parser=None):
help='port for controlling the service, default a random port between [49152, 65536]')
parser.add_argument('--timeout', type=int, default=-1,
help='timeout (ms) of all communication, -1 for waiting forever')
parser.add_argument('--dump_interval', type=int, default=5,
help='serialize the service to a file every n seconds')
parser.add_argument('--dump_interval', type=int, default=-1,
help='serialize the service to a file every n seconds, -1 means --read_only')
parser.add_argument('--read_only', action='store_true', default=False,
help='do not allow the service to modify the model, '
'dump_interval will be ignored')

0 comments on commit f89b436

Please sign in to comment.
You can’t perform that action at this time.