2017 © Pedro Peláez
 

magento2-module indexsuspender

Allows to suspend regular indexing processes during a specific task.

image

techdivision/indexsuspender

Allows to suspend regular indexing processes during a specific task.

  • Friday, June 29, 2018
  • by wick-ed
  • Repository
  • 9 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

TechDivision_IndexSuspender

This Magento 2 module suspends delta indexing while a full re-indexation is running. It also provides an interface in order to stop indexations within your custom implementations., (*1)

interface IndexSuspenderInterface
{
    /**
     * Suspends all related indexing processes.
     * If the request / cli process finishes, the suspender will be removed automatically.
     *
     * @return void
     */
    public function suspend();

    /**
     * Resumes all suspended indexing processes.
     *
     * @return void
     */
    public function resume();

    /**
     * Suspends all related indexing processes.
     * If the request / cli process finishes, the suspender will not be removed automatically.
     *
     * @param string $externalKey
     * @return void
     */
    public function suspendExternal($externalKey);

}

Command line interface

This module provides some bin/magento commands in order to control and monitor the index suspending., (*2)

suspend
 suspend:index:list         List current index suspender ids
 suspend:index:resume-all   Resume all currently suspended indexes.

Backend integration

You can see and unlock given indexer locks within the Index Management tab., (*3)

Backend integration, (*4)

Installation

composer require techdivision/indexsuspender 

The Versions

29/06 2018

dev-master

9999999-dev

Allows to suspend regular indexing processes during a specific task.

  Sources   Download

The Requires

  • magento/framework 100.1.*

 

29/06 2018

0.5.3

0.5.3.0

Allows to suspend regular indexing processes during a specific task.

  Sources   Download

The Requires

  • magento/framework 100.1.*