File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -332,11 +332,11 @@ def __init__(
332
332
if config is None :
333
333
config = Axon .config ()
334
334
config = copy .deepcopy (config )
335
- config .axon .ip = ip or DEFAULTS .axon .ip
336
- config .axon .port = port or DEFAULTS .axon .port
337
- config .axon .external_ip = external_ip or DEFAULTS .axon .external_ip
338
- config .axon .external_port = external_port or DEFAULTS .axon .external_port
339
- config .axon .max_workers = max_workers or DEFAULTS .axon .max_workers
335
+ config .axon .ip = ip or config .axon .ip
336
+ config .axon .port = port or config .axon .port
337
+ config .axon .external_ip = external_ip or config .axon .external_ip
338
+ config .axon .external_port = external_port or config .axon .external_port
339
+ config .axon .max_workers = max_workers or config .axon .max_workers
340
340
Axon .check_config (config )
341
341
self .config = config # type: ignore
342
342
You can’t perform that action at this time.
0 commit comments