refactor: rename env CORE_WORKER to MAXKB_CORE_WORKER.

This commit is contained in:
liqiang-fit2cloud 2025-11-12 08:55:11 +08:00 committed by CaptainB
parent eb0b8d6651
commit 7135614aec

View File

@ -52,7 +52,7 @@ def start_services():
if args.worker:
start_args.extend(['--worker', str(args.worker)])
else:
worker = os.environ.get('CORE_WORKER')
worker = os.environ.get('MAXKB_CORE_WORKER')
if isinstance(worker, str) and worker.isdigit():
start_args.extend(['--worker', worker])