Download & Extend

D6.14: Job queue should not use ini_get('max_execution_time'), but call drupal_set_time_limit() itself

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

Status:active» postponed (maintainer needs more info)

#4

Status:postponed (maintainer needs more info)» closed (won't fix)

Should be fixed since 6.15