From 9fcd1a8293c5b0d89254f9e0cce0b498f27a760c Mon Sep 17 00:00:00 2001 From: Shiva Pentakota Date: Mon, 23 Jan 2023 13:37:42 -0800 Subject: [PATCH] fix: adding MaxRetryCount for capped num of retries Signed-off-by: Shiva Pentakota --- clientlibrary/config/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clientlibrary/config/config.go b/clientlibrary/config/config.go index 5b45678..b497f8f 100644 --- a/clientlibrary/config/config.go +++ b/clientlibrary/config/config.go @@ -283,6 +283,9 @@ type ( // LeaseSyncingTimeInterval The number of milliseconds to wait before syncing with lease table (dynamoDB) LeaseSyncingTimeIntervalMillis int + + // MaxRetryCount The maximum number of retries in case of error + MaxRetryCount int } )