From d20482dc35e9955a49515a8462bc21b3751cdf65 Mon Sep 17 00:00:00 2001 From: pankajjangid05 Date: Mon, 22 May 2023 15:18:57 +0530 Subject: [PATCH] Hot fix for notification --- .../com/uci/outbound/consumers/OutboundKafkaController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java b/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java index fbb95e3..ea7434d 100644 --- a/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java +++ b/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java @@ -132,7 +132,9 @@ public void accept(XMessageDAO xMessageDAO) { log.info("XMessage Object saved is with sent user ID >> " + xMessageDAO.getUserId()); count++; // log.info("Insert Record in Cass : "+count); - logTimeTaken(startTime, 0, "Insert Record in Cass : " + count +" ::: process-end: %d ms"); + if (provider.toLowerCase().equals("firebase") && channel.toLowerCase().equals("web")) { + logTimeTaken(startTime, 0, "Insert Record in Cass : " + count + " ::: process-end: %d ms"); + } } }); } catch (Exception e) {