The current logic that determines whether or not to set the max_execution to 240 only checks that the current value is less than 240.
Since 0 is less than 240, max_execution gets set. Problem is, 0 means infinite so max_execution gets set unnecessarily.
Attached patch fixes.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1276598-fix_max_execution_time.patch | 534 bytes | joshuajabbour |
| fix_max_execution_time.patch | 529 bytes | msonnabaum |
Comments
Comment #1
adamdicarlo commentedLooks like a major bug in variable use:
$max_executionvs.$max_execution_time.Comment #2
joshuajabbour commentedUpdated patch fixing error in #1.
Comment #3
alexweber commentedLooks good to me.
Comment #4
pwolanin commentedcommitted