Download & Extend

Excessive watchdog() calls when running the DME context generation batch

Project:Drupal Markup Engine
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:minor
Assigned:dww
Status:postponed

Issue Summary

When you hit admin/settings/dme and run the batch upgrade process (any reason this isn't just in a dme_update_N()?) you get a huge flood of watchdog calls since this message:

watchdog('batch', 'Starting DME Regenerate Context Batch');

is happening at the start of each call to _dme_batch_regenerate(), not just the first time when it's initializing the batch.

Comments

#1

Status:active» needs review

While I was at it, I decided to use a 'dme' section in the watchdog, so these are more easily filtered, etc.

AttachmentSize
1095170-1.dme-batch-watchdog.patch 1.3 KB

#2

Status:needs review» postponed

This patch is irrelevant if #1095014: Remember node context without <dme:context> tags. lands since all this batch code would be gone. ;)