Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:php:run-without-timeouts [2016/09/12 13:30] Jackson Zhang [Through the noabort environment variable] |
litespeed_wiki:php:run-without-timeouts [2019/03/24 16:45] qtwrk |
||
---|---|---|---|
Line 71: | Line 71: | ||
This setting can be increased to allow scripts to run longer (though they will still time out after the specified time has elapsed). | This setting can be increased to allow scripts to run longer (though they will still time out after the specified time has elapsed). | ||
+ | |||
+ | If LiteSpeed ADC is running in front , ADC connection timeout also need to adjust. | ||
==== Through "noconntimeout" environment variable ==== | ==== Through "noconntimeout" environment variable ==== | ||
- | Similarly to the "noabort" environment variable, you can add the "noconntimeout" environment variable via a rewrite rule or using the SetEnv/SetEnvIf directives. (The rewrite flag is preferred for controlling a single account. The SetEnv/SetEnvIf directives are preferred for rules that will apply to all accounts.) "noconntimeout" is a LiteSpeed-specifc environment variable. | + | Similarly to the "noabort" environment variable, you can add the "noconntimeout" environment variable via a rewrite rule or using the SetEnv/SetEnvIf directives. (The rewrite flag is preferred for controlling a single account. The SetEnv/SetEnvIf directives are preferred for rules that will apply to all accounts.) "noconntimeout" is a LiteSpeed-specifc environment variable, so all the following examples should be placed inside: |
+ | <IfModule Litespeed> | ||
+ | ... | ||
+ | </IfModule> | ||
=== Rewrite rule examples: === | === Rewrite rule examples: === |