From fda4b3b4ef5b1d670d53e5b08ce55432c7d09c41 Mon Sep 17 00:00:00 2001 From: Sajna Nazeer K Date: Mon, 27 Sep 2021 11:14:13 +0530 Subject: [PATCH] RDKC-10111 : Smart Thumbnail upload retry mechanism not triggered Reason for change: REsetting the retry interval Test Procedure: Build with no issues. Risks:LOW Signed-off-by: Sajna_NazeerK@comcast.com (cherry picked from commit fa11fbde7f02d81f2d3e8380898a7ff0b1fdd073) Change-Id: I75b01ea5f64e2e607481695cbc0dc9aab6282397 --- smart_thumbnail/smart_thumbnail.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smart_thumbnail/smart_thumbnail.cpp b/smart_thumbnail/smart_thumbnail.cpp index 0b7525d..eb3929b 100644 --- a/smart_thumbnail/smart_thumbnail.cpp +++ b/smart_thumbnail/smart_thumbnail.cpp @@ -1610,6 +1610,9 @@ void SmartThumbnail::uploadPayload() memset(&startTime, 0, sizeof(startTime)); memset(&currTime, 0, sizeof(currTime)); + //Resetting upload retry count + waitingInterval = 1; + //clock the start time clock_gettime(CLOCK_REALTIME, &startTime); RDK_LOG( RDK_LOG_TRACE1,"LOG.RDK.SMARTTHUMBNAIL","%s(%d):Uploading smart thumbnail!!! Time left %ld\n", __FILE__, __LINE__, STN_UPLOAD_TIME_INTERVAL);