Commit 725d029e9eb053536cce07b9b055c779540c4955
1 parent
d4f4ee969d
Exists in
master
decrement config.globals.requests_count
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
httppulsakita.js
... | ... | @@ -46,6 +46,8 @@ function topupRequest(task, retry) { |
46 | 46 | console.log(params); |
47 | 47 | |
48 | 48 | request.post({url: config.h2h_out.partner, form: params}, function(err, httpResponse, httpResponseBody) { |
49 | + | |
50 | + config.globals.requests_count--; | |
49 | 51 | |
50 | 52 | if (err) { |
51 | 53 | console.log('HTTP Request Error (' + task['requestId'] + '): '); |