The attached patch makes a few changes to the queries used to process the daily usage. Making the initial queries more restrictive takes a little longer to run but results in fewer UPDATE queries.

CommentFileSizeAuthor
project_usage_efficient.patch1.45 KBdrewish
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dww’s picture

Status: Needs review » Fixed

Looks good and sounds reasonable. Committed to HEAD and installed on d.o. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)