The module has some performance issues when you start to have many orders.

At the database level you can improve the performance by adding an extra index:

ALTER TABLE `commerce_eta_events` ADD INDEX( `entity_type`, `entity_id`);

Comments

introfini created an issue. See original summary.

alexandersluiter’s picture

Status: Active » Fixed

Committed.

alexandersluiter’s picture

Status: Fixed » Closed (fixed)
alexandersluiter’s picture

Status: Closed (fixed) » Needs work

Refactoring hook update to use schema.

alexandersluiter’s picture

Status: Needs work » Fixed
alexandersluiter’s picture

Status: Fixed » Closed (fixed)