INNER CODE UNIT · JavaScript

updatedAfter

vuestorefront/mage2vuestorefront · src/cli.js:424

      updatedAfter = null // full reindex
    }

    reindexProducts(cmd.adapter, cmd.removeNonExistent, cmd.partitions, cmd.partitionSize, cmd.initQueue, cmd.skus, updatedAfter);

    try {
      indexMeta.lastIndexDate = new Date()
      jsonFile.writeFile(INDEX_META_PATH, indexMeta)
    } catch (err) {
      console.log('Error writing index meta!', err)
    }
  })

program
  .command('productsworker')
  .option('--adapter <adapter>', 'name of the adapter', 'magento')
  .option('--partitions <partitions>', 'number of partitions', 1)
  .action((cmd) => {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…