Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
[GB] use correct interval between getOrder calls, see #2449
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Aug 16, 2018
1 parent 13ea07b commit bc745a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exchange/orders/sticky.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,12 @@ class StickyOrder extends BaseOrder {
return next();
}

setTimeout(() => this.api.getOrder(id, next), this.timeout);
setTimeout(() => this.api.getOrder(id, next), this.checkInterval);
});

async.series(checkOrders, (err, trades) => {
// note this is a standalone function after the order is
// completed, as such we do not use the handleError flow.
if(err) {
return next(err);
}
Expand Down

0 comments on commit bc745a2

Please sign in to comment.