Problem/Motivation

Some sites report timeouts when regenerating tracking info, even when using the batched / limited version of the drush command.
This issue is to research the idea of using a queue to process items on sites with large amounts of content.
Obvious drawback is that until all items in the queue haven't finished processing, usage information on the site won't be accurate, so people should be aware and explicitly opt-in to this.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marcoscano created an issue. See original summary.

marcoscano’s picture

Assigned: marcoscano » Unassigned
Status: Active » Needs review

weekbeforenext made their first commit to this issue’s fork.

I changed LoggerChannelFactory to LoggerChannelFactoryInterface to fix a conflict from the Redirect 404 (redirect_404) module. The error and fix is similar to https://www.drupal.org/project/instagram_api/issues/2984699.

TypeError: Argument 5 passed to Drupal\entity_usage\Plugin\QueueWorker\EntityUsageRegenerateTrackingInfoWorker::__construct() must be an instance of Drupal\Core\Logger\LoggerChannelFactory, instance of Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in docroot/modules/contrib/entity_usage/src/Plugin/QueueWorker/EntityUsageRegenerateTrackingInfoWorker.php on line 67 in docroot/modules/contrib/entity_usage/src/Plugin/QueueWorker/EntityUsageRegenerateTrackingInfoWorker.php on line 50

  • marcoscano committed ed4d1f5 on 8.x-2.x
    Issue #3215097 by marcoscano, weekbeforenext: Use queue to regenerate...
marcoscano’s picture

Status: Needs review » Fixed

Bringing this in, will tag a new release so it's easier to make this available to others as well.
Thanks for contributing!

Status: Fixed » Closed (fixed)

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