protected function beforeStart() { parent::beforeStart(); $this->runner = Mage::getModel('M2ePro/Synchronization_Templates_Runner'); $this->runner->setConnectorModel('Connector_Ebay_OtherItem_Dispatcher'); $this->runner->setMaxProductsPerStep(10); $this->runner->setLockItem($this->getActualLockItem()); $this->runner->setPercentsStart($this->getPercentsStart() + $this->getPercentsInterval() / 2); $this->runner->setPercentsEnd($this->getPercentsEnd()); }
protected function beforeStart() { parent::beforeStart(); $this->runner = Mage::getModel('M2ePro/Synchronization_Templates_Runner'); $this->runner->setConnectorModel('Connector_Amazon_Product_Dispatcher'); $this->runner->setMaxProductsPerStep(1000); $this->runner->setLockItem($this->getActualLockItem()); $this->runner->setPercentsStart($this->getPercentsStart() + $this->getPercentsInterval() / 2); $this->runner->setPercentsEnd($this->getPercentsEnd()); $this->inspector = Mage::getModel('M2ePro/Amazon_Synchronization_Templates_Inspector'); $this->changesHelper = Mage::getModel('M2ePro/Synchronization_Templates_Changes'); $this->changesHelper->setComponent($this->getComponent()); $this->changesHelper->init(); }