EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/326043 )

Change subject: Use 1 processes instead of 4 for phan
......................................................................

Use 1 processes instead of 4 for phan

Running against mediawiki core phan needs around 1GB of memory
per process. >4GB is too excessive for a default setting. Instead
set the default to 1 process and add the ability for users to
select more processes on the command line.

Bug: T132636
Change-Id: I3d9fa462916fba519fe6d7f1916f881eefb6a942
---
M tests/phan/bin/phan
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/43/326043/1

diff --git a/tests/phan/bin/phan b/tests/phan/bin/phan
index 07caee6..100190d 100755
--- a/tests/phan/bin/phan
+++ b/tests/phan/bin/phan
@@ -31,7 +31,7 @@
        --project-root-directory "$ROOT" \
        --config-file "$ROOT/tests/phan/config.php" \
        --output "$ROOT/tests/phan/issues/issues-${REV}" \
-       -j 4
+       ${@}
 
 # Re-link the latest directory
 rm -f "${ISSUES}/latest"

-- 
To view, visit https://gerrit.wikimedia.org/r/326043
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d9fa462916fba519fe6d7f1916f881eefb6a942
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to