Minimum of MEMORY/256 workers.

This commit is contained in:
Samuel Clay 2013-03-13 23:26:03 -07:00
parent 97fa31eed8
commit e8b33af53c

View file

@ -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))