Skip to content

Commit

Permalink
[plugin] add basic retry to candleUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jan 9, 2019
1 parent 5262a1b commit dec87b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/candleUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ CandleUploader.prototype.schedule = function() {

CandleUploader.prototype.rawUpload = function(candles, count, next) {

const amount = this.candles.length;

axios({
url: config.candleUploader.url,
method: 'post',
Expand Down

0 comments on commit dec87b8

Please sign in to comment.