modify text
parent
ce8afe1c95
commit
1976da9ee9
|
@ -224,10 +224,13 @@ to the `phpunit` script.
|
||||||
Although Composer is not intended to manage long-running processes and other
|
Although Composer is not intended to manage long-running processes and other
|
||||||
such aspects of PHP projects, it can sometimes be handy to disable the process
|
such aspects of PHP projects, it can sometimes be handy to disable the process
|
||||||
timeout on custom commands. This timeout defaults to 300 seconds and can be
|
timeout on custom commands. This timeout defaults to 300 seconds and can be
|
||||||
overridden in a variety of ways depending on the desired effect: it's possible
|
overridden in a variety of ways depending on the desired effect:
|
||||||
to disable it for all command using the config key `process-timeout`, or for
|
|
||||||
a specific call using the `--timeout` parameter of the `run` (`run-scripts`)
|
- disable it for all commands using the config key `process-timeout`,
|
||||||
command, or using a static helper for specific scripts.
|
- disable it for the current or future invocations of composer using the
|
||||||
|
environment variable `COMPOSER_PROCESS_TIMEOUT`,
|
||||||
|
- for a specific invocation using the `--timeout` flag of the `run-script` command,
|
||||||
|
- using a static helper for specific scripts.
|
||||||
|
|
||||||
To disable the timeout for specific scripts with the static helper directly in
|
To disable the timeout for specific scripts with the static helper directly in
|
||||||
composer.json:
|
composer.json:
|
||||||
|
|
Loading…
Reference in New Issue