mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
refactor: rename env CORE_WORKER to MAXKB_CORE_WORKER.
This commit is contained in:
parent
eb0b8d6651
commit
7135614aec
2
main.py
2
main.py
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue