Commit 6300fc5dc52c4f19fef2a879feda11b6048e3792
1 parent
fca96c0e19
Exists in
master
config.sdk_only_postpaid
Showing 1 changed file with 5 additions and 2 deletions Side-by-side Diff
gateway/pull.js
... | ... | @@ -384,8 +384,11 @@ function getRemoteProduct(product) { |
384 | 384 | } |
385 | 385 | |
386 | 386 | initMatrix(); |
387 | -setInterval(pullTask, config.pull_interval_ms || 1000); | |
388 | -logger.verbose('Pull task every ' + (config.pull_interval_ms || 1000) + ' ms') | |
387 | + | |
388 | +if (!config.sdk_pull_only_postpaid) { | |
389 | + setInterval(pullTask, config.pull_interval_ms || 1000); | |
390 | + logger.verbose('Pull task every ' + (config.pull_interval_ms || 1000) + ' ms') | |
391 | +} | |
389 | 392 | |
390 | 393 | exports.setPartner = setPartner; |
391 | 394 | exports.isPaused = isPaused; |