Hi
I stumbled upon the case where one of the queues didn't have a maximum execution time set (Queue Mail module). This is actually a quite trivial situation as the parameter is optional (defaults to 15s).
So to omit any error messages, the following should get incorporated (line 1616 elysia_cron.module):
Original:
'description' => $queue_name . ' queue processing (Items count: <strong>' . $queue->numberOfItems() . '</strong>, worker max duration: <strong>' . $info['time'] . 's</strong>)',
Fixed:
'description' => $queue_name . ' queue processing (Items count: <strong>' . $queue->numberOfItems() . '</strong>, worker max duration: <strong>' . (isset($info['time']) ? $info['time'] : 15) . 's</strong>)',
Patch will follow.
-Propaganistas
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | elysia_cron-errorfix_QueueTimeParameter-1984392-1.patch | 960 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedPatch
Comment #2
Anonymous (not verified) commentedComment #3
gotheric commentedCommitted in dev with a little mod:
(isset($info['time']) ? $info['time'] . 's' : t('unspecified') . ' (15s)')Thanks