Skip to content

Commit a7b93a0

Browse files
committed
Pull in hotfix so that CI checks pass
2 parents 17c604c + 4e1c132 commit a7b93a0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

CLA.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ IF THE DISCLAIMER AND DAMAGE WAIVER MENTIONED IN SECTION 5. AND SECTION 6. CANNO
115115

116116
### Us
117117

118-
Name: Daniel Tischner (aka Zabuzard, acting on behalf of Together Java)
119-
120118
Organization: https://github.com/Together-Java
121119

122120
Contact: https://discord.com/invite/XXFUXzK

application/src/main/java/org/togetherjava/tjbot/features/rss/RSSHandlerRoutine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,9 @@ private long calculateWaitHours(int failureCount) {
456456

457457
private boolean isBackingOff(String url) {
458458
FailureState state = circuitBreaker.getIfPresent(url);
459-
if (state == null)
459+
if (state == null) {
460460
return false;
461+
}
461462

462463
long waitHours = calculateWaitHours(state.count());
463464
Instant retryAt = state.lastFailure().plus(waitHours, ChronoUnit.HOURS);

0 commit comments

Comments
 (0)