Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Aug 9, 2024
1 parent db44b53 commit 8544aa9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ constructor(
Instant.ofEpochSecond(offset).plus(ONE_DAY),
)
val nextRequestTime = Instant.now().plus(SUCCESS_BACK_OFF_TIME)
userNextRequest[request.user.versionedId] = userNextRequest[request.user.versionedId]?.let {
if (it > nextRequestTime) it else nextRequestTime
} ?: nextRequestTime
userNextRequest[request.user.versionedId] =
userNextRequest[request.user.versionedId]?.let {
if (it > nextRequestTime) it else nextRequestTime
} ?: nextRequestTime
} else {
if (request.startDate.plus(TIME_AFTER_REQUEST).isBefore(Instant.now())) {
logger.info("No records found, updating offsets to end date..")
Expand Down

0 comments on commit 8544aa9

Please sign in to comment.