Commit b79e0678c22963bbc464b82c242b76953a117f7a
1 parent
1178a141bc
Exists in
master
matikan increment
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
httppulsakita.js
... | ... | @@ -41,6 +41,7 @@ function parseSN(message, _config) { |
41 | 41 | |
42 | 42 | |
43 | 43 | function topupRequest(task, retry) { |
44 | + /* | |
44 | 45 | if (config.globals.requests_count == undefined) { |
45 | 46 | config.globals.requests_count = 1; |
46 | 47 | } else { |
... | ... | @@ -58,6 +59,7 @@ function topupRequest(task, retry) { |
58 | 59 | } else { |
59 | 60 | config.globals.max_active_requests_count = math.max(config.globals.max_active_requests_count, config.globals.active_requests_count); |
60 | 61 | } |
62 | + */ | |
61 | 63 | |
62 | 64 | |
63 | 65 | if (retry === undefined) { |
... | ... | @@ -75,7 +77,9 @@ function topupRequest(task, retry) { |
75 | 77 | |
76 | 78 | request.post({url: config.h2h_out.partner, form: params}, function(err, httpResponse, httpResponseBody) { |
77 | 79 | |
80 | + /* | |
78 | 81 | config.globals.active_requests_count--; |
82 | + */ | |
79 | 83 | |
80 | 84 | if (err) { |
81 | 85 | logger.warn('HTTP Request Error (' + task['requestId'] + '): ' + err); |