Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(parser): set dump_interval to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Sep 11, 2019
1 parent 787d0f1 commit f89b436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnes/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f89b436

Please sign in to comment.