mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
fix: changing default numWorkers, making it customizable and refactoring scheduler (#1563)
Signed-off-by: Lisca Ana-Roberta <ana.kagome@yahoo.com>
This commit is contained in:
committed by
GitHub
parent
7881ce32b2
commit
d4f200c2e1
@@ -252,7 +252,15 @@ Behaviour-based action list
|
||||
}
|
||||
```
|
||||
|
||||
#### Scheduler Workers
|
||||
|
||||
The number of workers for the task scheduler has the default value of runtime.NumCPU()*4, and it is configurable with:
|
||||
|
||||
```
|
||||
"scheduler": {
|
||||
"numWorkers": 3
|
||||
|
||||
```
|
||||
|
||||
## Logging
|
||||
|
||||
|
||||
Reference in New Issue
Block a user