make threading optional

This commit is contained in:
2023-07-08 00:34:55 -04:00
parent 6c155a5e48
commit 03cf535ff6
4 changed files with 12 additions and 1 deletions

View File

@ -36,6 +36,12 @@ class ServerConfig:
self.__config, "core", "server", "is_develop", default=True
)
@property
def threading(self) -> bool:
return CoreConfig.get_config_field(
self.__config, "core", "server", "threading", default=False
)
@property
def log_dir(self) -> str:
return CoreConfig.get_config_field(