Reverted index change
parent
a8d5a60ee0
commit
11a0ce909b
|
@ -582,10 +582,6 @@ exports.indexOrders = (app, cb) => {
|
||||||
|
|
||||||
// start indexing products and orders
|
// start indexing products and orders
|
||||||
exports.runIndexing = (app) => {
|
exports.runIndexing = (app) => {
|
||||||
if(process.env.NODE_ENV !== 'production'){
|
|
||||||
return Promise.resolve();
|
|
||||||
}
|
|
||||||
|
|
||||||
console.info(colors.yellow('Setting up indexes..'));
|
console.info(colors.yellow('Setting up indexes..'));
|
||||||
|
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
|
|
Loading…
Reference in New Issue