add SystemConfModel

This commit is contained in:
jxxghp
2025-06-27 09:54:15 +08:00
parent bb4438ac42
commit 574257edf8
11 changed files with 63 additions and 49 deletions

View File

@@ -9,7 +9,7 @@ class ThreadHelper(metaclass=Singleton):
线程池管理
"""
def __init__(self):
self.pool = ThreadPoolExecutor(max_workers=settings.CONF['threadpool'])
self.pool = ThreadPoolExecutor(max_workers=settings.CONF.threadpool)
def submit(self, func, *args, **kwargs):
"""