Skip to content

Commit

Permalink
allow more retries when starting the server (microsoft#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
why-in-Shanghaitech committed Mar 30, 2023
1 parent 9531df7 commit 36f82ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nni/experiment/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def start_experiment(
start_time = int(time.time() * 1000)

_logger.info('Starting web server...')
_check_rest_server(port, url_prefix=url_prefix)
_check_rest_server(port, retry=30, url_prefix=url_prefix)

Experiments().add_experiment(
exp_id,
Expand Down

0 comments on commit 36f82ac

Please sign in to comment.