techdivision / indexsuspender
该软件包最新版本(0.5.3)的许可证信息不可用。
允许在特定任务期间挂起常规索引过程。
0.5.3
2018-06-29 12:57 UTC
Requires
- magento/framework: 100.1.*
This package is auto-updated.
Last update: 2024-09-11 03:41:53 UTC
README
此Magento 2模块在运行完整重新索引时挂起增量索引。它还提供了一个界面,以便在自定义实现中停止索引。
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); }
命令行界面
本模块提供了一些bin/magento
命令,用于控制和监控索引挂起。
suspend
suspend:index:list List current index suspender ids
suspend:index:resume-all Resume all currently suspended indexes.
后端集成
您可以在“索引管理”标签页中查看并解锁给定的索引器锁。
安装
composer require techdivision/indexsuspender