Download & Extend

radioactivity_get_energies_for_source: Resolve subclass only when required (Optimization)

Project:Radioactivity
Version:5.x-1.2-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Currently subclass is always resolved even if not required. For instance: node subclasses are node types (like node:story, node:page). Subclass resolution is required only when there are subclass specific energy values for a specific source. For instance, if there is no subclass-specific energy values for node view, it is very much pointless to resolve the specific node type to obtain energy for view. Resolving node type involves database traffic, which obviously is not a good thing for an active site.

Comments

#1

Status:active» fixed

Committed: http://drupal.org/cvs?commit=136720

temp

Automatically closed -- issue fixed for two weeks with no activity.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here