Posted by Damien Tournoud on September 19, 2009 at 11:39am
Jump to:
| Project: | Job queue |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Job queue is apparently broken, because it calls ini_get('max_execution_time'), which is undefined as soon as set_time_limit() was executed during the request.
This is the case for all Drupal hook_cron() implementations since #193383: set_time_limit: Centralize calls and prevent warnings and errors went in.
Comments
#1
drupal_set_time_limit($time_limit) is only available in D7, not in D6 and works completly different. We need the max runtime - we do *not* like to *set* a runtime.
#2
Where is how this is all supposed to work in Drupal 6 actually documented? Have all the issues been settled?
#3
#4
Should be fixed since 6.15