We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d746b commit 8436136Copy full SHA for 8436136
src/main/java/com/amazonaws/secretsmanager/caching/cache/SecretCacheObject.java
@@ -214,7 +214,7 @@ public boolean refreshNow() throws InterruptedException {
214
// secret that continues to throw an exception such as AccessDenied.
215
Duration wait = Duration.between(
216
this.nextRetryTime,
217
- java.time.Instant.now()).abs();
+ java.time.Instant.now());
218
// pick the max.
219
sleep = sleep.compareTo(wait) >= 0 ? sleep : wait;
220
}
0 commit comments