make threading optional

This commit is contained in:
Kevin Trocolli committed 2023-07-08 00:34:55 -04:00
1 parent 6c155a5e48
commit 03cf535ff6
4 files changed
+12 -1

No files matched your search

+6
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(