Skip to content

Commit

Permalink
Changed the log statement
Browse files Browse the repository at this point in the history
Signed-off-by: Mohit Kumar <mohitamg@amazon.com>
  • Loading branch information
mohitamg committed Sep 4, 2023
1 parent db42dee commit 72c05b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/opensearch/replication/util/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ suspend fun <Req: ActionRequest, Resp: ActionResponse> Client.suspendExecuteWith
}
}
log.warn(
"Encountered a failure while executing changes. Retrying in ${currentBackoff / 1000} seconds" +
"." + " OpenSearchTimeoutException can be ignored!!",
"Encountered a failure(can be ignored) while getting changes: OpenSearchTimeoutException. Retrying in ${currentBackoff / 1000} seconds" +
"."
)
delay(currentBackoff)
currentBackoff = (currentBackoff * factor).toLong().coerceAtMost(maxTimeOut)
Expand Down

0 comments on commit 72c05b3

Please sign in to comment.