waterfall([
function startTransaction (callback) {
- db.sequelize.transaction().asCallback(function (err, t) {
+ db.sequelize.transaction({ isolationLevel: 'SERIALIZABLE' }).asCallback(function (err, t) {
return callback(err, t)
})
},
waterfall([
function startTransaction (callback) {
- db.sequelize.transaction().asCallback(function (err, t) {
+ db.sequelize.transaction({ isolationLevel: 'SERIALIZABLE' }).asCallback(function (err, t) {
return callback(err, t)
})
},
})
})
- logger.info('Making requests to friends.', { requests: requestsToMakeGrouped })
+ logger.info('Making requests to friends.')
const goodPods = []
const badPods = []