chore: udpate workers to 15
This commit is contained in:
1 parent
bcce18ca05
commit
6730058c66
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ FARM_SYSTEM_VALIDATOR=
|
|||||||
FARM_SYSTEM_SERVER_KEY=
|
FARM_SYSTEM_SERVER_KEY=
|
||||||
|
|
||||||
# Параллелизм исполнителя Neo.
|
# Параллелизм исполнителя Neo.
|
||||||
NEO_WORKER_JOBS=2
|
NEO_WORKER_JOBS=15
|
||||||
NEO_WORKER_ENDLESS_JOBS=0
|
NEO_WORKER_ENDLESS_JOBS=0
|
||||||
|
|
||||||
# Разбор закрытого файла. LIVE настраивается отдельным Compose-файлом Packmate.
|
# Разбор закрытого файла. LIVE настраивается отдельным Compose-файлом Packmate.
|
||||||
|
|||||||
@@ -80,14 +80,14 @@ services:
|
|||||||
NEO_EXPLOIT_DIR: /work/exploits
|
NEO_EXPLOIT_DIR: /work/exploits
|
||||||
NEO_METRICS_HOST: ""
|
NEO_METRICS_HOST: ""
|
||||||
NEO_ALLOW_BROADCAST_COMMANDS: "false"
|
NEO_ALLOW_BROADCAST_COMMANDS: "false"
|
||||||
NEO_WORKER_JOBS: ${NEO_WORKER_JOBS:-2}
|
NEO_WORKER_JOBS: ${NEO_WORKER_JOBS:-15}
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/neo
|
- /usr/local/bin/neo
|
||||||
- --config
|
- --config
|
||||||
- /etc/neo/client_config.yml
|
- /etc/neo/client_config.yml
|
||||||
- run
|
- run
|
||||||
- --jobs
|
- --jobs
|
||||||
- ${NEO_WORKER_JOBS:-2}
|
- ${NEO_WORKER_JOBS:-15}
|
||||||
- --endless-jobs
|
- --endless-jobs
|
||||||
- ${NEO_WORKER_ENDLESS_JOBS:-0}
|
- ${NEO_WORKER_ENDLESS_JOBS:-0}
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -105,8 +105,8 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
pids_limit: 128
|
pids_limit: 128
|
||||||
mem_limit: 2g
|
mem_limit: 16g
|
||||||
cpus: 2.0
|
cpus: 4.0
|
||||||
init: true
|
init: true
|
||||||
stop_grace_period: 10s
|
stop_grace_period: 10s
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in new issue
Block a user