File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -72,16 +72,8 @@ For a quick start, follow the below steps.
7272
7373#### DDEV installation
7474
75- This project is fully compatible with DDEV 1.21.2, and it is recommended to use this specific version.
76- For the DDEV installation, please follow the [ official instructions] ( https://ddev.readthedocs.io/en/stable/#installation ) .
77- On a Linux distribution, you can run:
78- ```
79- sudo apt-get -qq update
80- sudo apt-get -qq -y install libnss3-tools
81- curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh
82- bash install_ddev.sh v1.21.2
83- rm install_ddev.sh
84- ```
75+ This project is fully compatible with DDEV 1.21.4, and it is recommended to use this specific version.
76+ For the DDEV installation, please follow the [ official instructions] ( https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/ ) .
8577
8678
8779#### Prepare DDEV PHP environment
Original file line number Diff line number Diff line change @@ -149,7 +149,8 @@ Here is the list of available settings:
149149- ` api_url ` : Define the URL to your Local API server, default to ` http://localhost:8080 ` .
150150
151151
152- - ` api_timeout ` : In seconds. The timeout when calling Local API. Must be greater or equal than 1. Default to 1 sec.
152+ - ` api_timeout ` : In seconds. The timeout when calling Local API. Default to 120 sec. If set to a negative value,
153+ timeout will be unlimited.
153154
154155
155156- ` use_curl ` : By default, this lib call the REST Local API using ` file_get_contents ` method (` allow_url_fopen ` is required).
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ protected function prepareBouncerConfigs(): array
404404 'api_key ' => $ this ->getStringSettings ('api_key ' ),
405405 'api_url ' => $ this ->getStringSettings ('api_url ' ),
406406 'api_user_agent ' => $ this ->getStringSettings ('api_user_agent ' ),
407- 'api_timeout ' => $ apiTimeout > 0 ? $ apiTimeout : Constants::API_TIMEOUT ,
407+ 'api_timeout ' => $ apiTimeout !== 0 ? $ apiTimeout : Constants::API_TIMEOUT ,
408408 'use_curl ' => $ this ->getBoolSettings ('use_curl ' ),
409409 // Debug
410410 'debug_mode ' => $ this ->getBoolSettings ('debug_mode ' ),
You can’t perform that action at this time.
0 commit comments