Skip to content

Commit

Permalink
try to match again if many authors
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofbyteball committed Apr 19, 2019
1 parent ab0352a commit 3e5ea05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion book.js
Expand Up @@ -360,7 +360,11 @@ function matchOrders(pair_id, onDone){
[match_id, arrMatchOrderIds], function(){ cb(); });
});
},
onDone
function () {
(objJoint.unit.authors.length >= constants.MAX_AUTHORS_PER_UNIT - 2)
? matchOrders(pair_id, onDone)
: onDone();
}
);
}
);
Expand Down

0 comments on commit 3e5ea05

Please sign in to comment.