Ensure pushStatus is properly running (#7213)
* Ensure pushStatus is properly running * remove duplicate test
This commit is contained in:
@@ -295,9 +295,8 @@ export function pushStatusHandler(config, existingObjectId) {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// indicate this batch is complete
|
||||
incrementOp(update, 'count', -1);
|
||||
update.status = 'running';
|
||||
|
||||
return handler.update({ objectId }, update).then(res => {
|
||||
if (res && res.count === 0) {
|
||||
|
||||
Reference in New Issue
Block a user