mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Minimum of MEMORY/256 workers.
This commit is contained in:
parent
97fa31eed8
commit
e8b33af53c
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 * 1000 / 256)
|
||||
workers = int(math.floor(GIGS_OF_MEMORY * 1000 / 256))
|
Loading…
Add table
Reference in a new issue