Skip to content

Commit a088658

Browse files
author
Anna Bukatar
committed
ACP2E-963: setup:upgrade is changing indexer mode to save from schedule slowing it down immensely
1 parent 6677e66 commit a088658

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/internal/Magento/Framework/Mview/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2525
*/
26-
class View extends DataObject implements ViewExtendedInterface
26+
class View extends DataObject implements ViewInterface, ViewSubscriptionInterface
2727
{
2828
/**
2929
* Default batch size for partial reindex

lib/internal/Magento/Framework/Mview/View/Subscription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2222
*/
23-
class Subscription implements SubscriptionExtendedInterface
23+
class Subscription implements SubscriptionInterface, SubscriptionTriggersInterface
2424
{
2525
/**
2626
* Database connection

lib/internal/Magento/Framework/Mview/View/SubscriptionExtendedInterface.php renamed to lib/internal/Magento/Framework/Mview/View/SubscriptionTriggersInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Extended Interface of \Magento\Framework\Mview\View\SubscriptionInterface
1414
*/
15-
interface SubscriptionExtendedInterface extends SubscriptionInterface
15+
interface SubscriptionTriggersInterface
1616
{
1717
/**
1818
* Get all triggers for the subscription

lib/internal/Magento/Framework/Mview/ViewExtendedInterface.php renamed to lib/internal/Magento/Framework/Mview/ViewSubscriptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Extended Interface of \Magento\Framework\Mview\ViewInterface
1212
*/
13-
interface ViewExtendedInterface extends ViewInterface
13+
interface ViewSubscriptionInterface
1414
{
1515
/**
1616
* Initializes Subscription instance

0 commit comments

Comments
 (0)