]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
lfs/Config: fix build if MAX_PARALLELISM is lower than one
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 28 Mar 2021 18:40:34 +0000 (20:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 29 Mar 2021 10:33:19 +0000 (10:33 +0000)
commit99d987bd4a5e4002580a170c3b91507f79866009
tree76f8a4c8f5a33e0a80e44c70b37947144445f181
parent4e24418705464a159d9618e474b37d44d251d467
lfs/Config: fix build if MAX_PARALLELISM is lower than one

If you have 2GB RAM the build of dnsdist will fail because MAX_PARALLELISM was
set to zero by RAM/2048 because a bit of RAM is used by the system.

This patch ensure that the lowest PARALLELISM value is 1.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config