Merge branch 'stable-3.0'
* stable-3.0: ReviewersUtil: Increase multiplier for candidate list to 3 Add missing 'Allow content merges' section title in project config documentation Fix placement of footer and searchbox in config-project-config.txt AbstractQueryChangesTest: Open TestRepository in try-with-resource TestRepository: Fix resource leak flagged by Eclipse Update git submodules Update git submodules Accept more than one endpoint from the same plugin mvn.py: Explicitly specify version in mvn deploy command Add missing 'Allow content merges' section title in project config documentation Allow to disable log file compression Allow to disable log file rotation SystemLog: Don't keep Config as a member Remove mention of the offline migrator being in 3.0 AccountIT#deletePreferredEmail: Fix flakiness gerrit.sh: Fix PID definition Upgrade gitiles to 0.2-9 Use Provider<PersonIdent> in CreateProject @Singleton AccountIT: Add test for deleting preferred email AccountIT: Add test coverage of adding an email and setting preferred Change-Id: I76b25cf1201d13025fa566b893c3fd02fbf212a0
This commit is contained in:
@@ -434,8 +434,8 @@ case "$ACTION" in
|
||||
fi
|
||||
fi
|
||||
|
||||
PID=`cat "$GERRIT_PID"`
|
||||
if test $UID = 0; then
|
||||
PID=`cat "$GERRIT_PID"`
|
||||
if test -f "/proc/${PID}/oom_score_adj" ; then
|
||||
echo -1000 > "/proc/${PID}/oom_score_adj"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user