mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Minimum of MEMORY/256 workers.
This commit is contained in:
parent
a49f734721
commit
97fa31eed8
1 changed files with 1 additions and 1 deletions
|
@ -19,4 +19,4 @@ else:
|
|||
workers = int(NUM_CPUS / 2)
|
||||
|
||||
if workers <= 2:
|
||||
workers = math.floor(GIGS_OF_MEMORY / 256)
|
||||
workers = math.floor(GIGS_OF_MEMORY * 1000 / 256)
|
Loading…
Add table
Reference in a new issue