Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
RDKC-10111 : Smart Thumbnail upload retry mechanism not triggered
Browse files Browse the repository at this point in the history
Reason for change: REsetting the retry interval
Test Procedure: Build with no issues.
Risks:LOW
Signed-off-by: [email protected]

(cherry picked from commit fa11fbde7f02d81f2d3e8380898a7ff0b1fdd073)
Change-Id: I75b01ea5f64e2e607481695cbc0dc9aab6282397
  • Loading branch information
Sajnakn authored and scthunderbolt committed Nov 2, 2021
1 parent 9525b0c commit fda4b3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smart_thumbnail/smart_thumbnail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fda4b3b

Please sign in to comment.