Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
prevent timeout on admin reset previous customer controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ildelux committed Dec 4, 2018
1 parent 3a8464a commit 109b3f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Controller/Adminhtml/Hub/Reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ public function execute()
/** @var \Magento\Framework\Controller\Result\Json $result */
$result = $this->_jsonFactory->create();
try {
$this->_previousCustomerService->resetPreviousCustomers()
->collectPreviousCustomers();
$this->_previousCustomerService
->resetPreviousCustomers()
//->collectPreviousCustomers()
;
$result->setData(['success' => true]);
} catch (\Exception $e) {
$result->setData(['error' => $e]);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

},
"type": "magento2-module",
"version": "1.2.2",
"version": "1.2.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Contactlab_Hub" setup_version="1.2.2">
<module name="Contactlab_Hub" setup_version="1.2.3">
<sequence>
<module name="Contactlab_Core"/>
</sequence>
Expand Down

0 comments on commit 109b3f8

Please sign in to comment.