Commit 8b42400808b0530e31578dfcdfdb532178a395c5

Authored by Adhidarma Hadiwinoto
1 parent c8f25c5626
Exists in master

RedisClient

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

... ... @@ -7,6 +7,7 @@ var http = require('http');
7 7  
8 8 var resendDelay = require('sate24/resend-delay');
9 9 var taskHistory = require('sate24/task-history');
  10 +var RedisClient = require('sate24/redis-client');
10 11 var AntiSameDayDupe = require('sate24/anti-same-day-dupe-oo');
11 12 var antiSameDayDupe;
12 13  
... ... @@ -72,6 +73,9 @@ function callbackReport(requestId, rc, message) {
72 73 }
73 74  
74 75 function _initSameDayDupe() {
  76 + RedisClient.init({config: config, logger: logger});
  77 + redisClient = RedisClient.getClient();
  78 +
75 79 logger.info('Initializing antiSameDayDupe');
76 80 antiSameDayDupe = new AntiSameDayDupe({
77 81 config: config,