Module: tools Branch: master Commit: 679645d2fa162cb9f3637d2c9d09a80e464e99b7 URL: http://source.winehq.org/git/tools.git/?a=commit;h=679645d2fa162cb9f3637d2c9...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Dec 15 07:56:10 2017 +0100
testbot/Engine: Don't override $MaxVMsWhenIdle == 0.
It should only be set to the default if left undefined.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/Engine.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/Engine.pl b/testbot/bin/Engine.pl index ad492f6..dfe266f 100755 --- a/testbot/bin/Engine.pl +++ b/testbot/bin/Engine.pl @@ -714,7 +714,7 @@ sub main() $MaxRevertsWhileRunningVMs = $MaxRevertingVMs; LogMsg "Capping MaxRevertsWhileRunningVMs to MaxRevertingVMs ($MaxRevertsWhileRunningVMs)\n"; } - $MaxVMsWhenIdle ||= $MaxActiveVMs; + $MaxVMsWhenIdle = $MaxActiveVMs if (!defined $MaxVMsWhenIdle); Cleanup(1);
# Check for patches that arrived while the server was off.