DevelopmentSettings: Disable resource limits
Useful for developing with TimedMediaHandler. Bug: T246942 Change-Id: I3c3ab8ae44f04cfb32fb276b580b3ee8366828fb
This commit is contained in:
parent
bced1fc879
commit
8112f4be07
1 changed files with 11 additions and 0 deletions
|
|
@ -69,6 +69,17 @@ $wgEnableJavaScriptTest = true;
|
|||
// Enable development/experimental endpoints
|
||||
$wgRestAPIAdditionalRouteFiles = [ 'includes/Rest/coreDevelopmentRoutes.json' ];
|
||||
|
||||
// Disable resource limits
|
||||
$wgMaxShellMemory = 0;
|
||||
$wgMaxShellFileSize = 0;
|
||||
$wgMaxShellTime = 0;
|
||||
$wgMaxShellWallClockTime = 0;
|
||||
|
||||
// Disable resource limits for TimedMediaHandler
|
||||
$wgTranscodeBackgroundTimeLimit = 0;
|
||||
$wgTranscodeBackgroundMemoryLimit = 0;
|
||||
$wgTranscodeBackgroundSizeLimit = 0;
|
||||
|
||||
/**
|
||||
* Experimental changes that may later become the default.
|
||||
* (Must reference a Phabricator ticket)
|
||||
|
|
|
|||
Loading…
Reference in a new issue