Skip to content

Schedule full reindex and process it by next cron run instead of executing from controller #4

@Koc

Description

@Koc

Magento version #:

2.2.6

Edition (EE, CE, OS, etc):

CE

Expected behavior:

Indexes was reindexed

Actual behavior:

Got timeout from nginx after long wait.

Steps to reproduce:

  1. try to reindex big index
  2. wait
  3. get timeout

It is better do not execute any long-running tasks using web (php-fpm+nginx). It is better fast schedule reindexation and actually execute it later on next cron run. Maybe add new status to indexers: "scheduled reindexation". Also add progressbar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions