Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.logger.log(LOG_LEVEL.WARNING, ex.message);
}
}
this.decisionService = decisionService.createDecisionService({
userProfileService: userProfileService,
logger: this.logger,
UNSTABLE_conditionEvaluators: config.UNSTABLE_conditionEvaluators
});
this.notificationCenter = notificationCenter.createNotificationCenter({
logger: this.logger,
errorHandler: this.errorHandler,
});
this.eventProcessor = new eventProcessor.LogTierV1EventProcessor({
dispatcher: this.eventDispatcher,
flushInterval: config.eventFlushInterval,
maxQueueSize: config.eventBatchSize,
notificationCenter: this.notificationCenter,
});
this.eventProcessor.start();
this.__readyTimeouts = {};
this.__nextReadyTimeoutId = 0;
}
} catch (ex) {
this.logger.log(LOG_LEVEL.WARNING, ex.message);
}
}
this.decisionService = decisionService.createDecisionService({
userProfileService: userProfileService,
logger: this.logger,
});
this.notificationCenter = notificationCenter.createNotificationCenter({
logger: this.logger,
errorHandler: this.errorHandler,
});
this.eventProcessor = new eventProcessor.LogTierV1EventProcessor({
dispatcher: this.eventDispatcher,
flushInterval: config.eventFlushInterval || DEFAULT_EVENT_FLUSH_INTERVAL,
maxQueueSize: config.eventBatchSize || DEFAULT_EVENT_MAX_QUEUE_SIZE,
});
this.eventProcessor.start();
}