Authored by yyq

change price task locked time

... ... @@ -122,7 +122,7 @@ module.exports = async() => {
const fw = fs.createWriteStream(`/Data/logs/node/prices/${now}.log`, {
flags: 'a'
});
const lockTask = nodeLockup(task, 1);
const lockTask = nodeLockup(task, 60);
const allData = await DuDataModel.findAll();
let maxProduct = _.get(_.maxBy(allData, 'productId'), 'productId', 0);
... ...