]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/V2Writable.pm
Merge remote-tracking branch 'origin/ds'
[public-inbox.git] / lib / PublicInbox / V2Writable.pm
index 3329d79fa77b56690be7cd45bac12b9fa53674c6..76e61e86931078c41e5999d912efd521df8334bf 100644 (file)
@@ -44,7 +44,7 @@ sub nproc_parts ($) {
                chomp($n = `nproc 2>/dev/null`);
                # assume 2 cores if GNU nproc(1) is not available
                $n = 2 if !$n;
-               $n = $NPROC_MAX_DEFAULT if $NPROC_MAX_DEFAULT > 4;
+               $n = $NPROC_MAX_DEFAULT if $n > $NPROC_MAX_DEFAULT;
        }
 
        # subtract for the main process and git-fast-import