Skip to content

Commit

Permalink
Revert to original logic of initing settings after config
Browse files Browse the repository at this point in the history
  • Loading branch information
littleK0i committed Sep 18, 2024
1 parent dbffb8f commit 5661600
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions snowddl/app/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ def __init__(self):
self.args = self.init_arguments()
self.logger = self.init_logger()

self.config_path = self.init_config_path()
self.settings = self.init_settings()

with self.measure_elapsed_time("InitConfig"):
self.config_path = self.init_config_path()
self.config = self.init_config()
self.settings = self.init_settings()

with self.measure_elapsed_time("InitEngine"):
self.engine = self.init_engine()
Expand Down

0 comments on commit 5661600

Please sign in to comment.