File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
oura-library/src/main/kotlin/org/radarbase/oura/request Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,10 @@ constructor(
132132 Instant .ofEpochSecond(offset).plus(ONE_DAY ),
133133 )
134134 val nextRequestTime = Instant .now().plus(SUCCESS_BACK_OFF_TIME )
135- userNextRequest[request.user.versionedId] = userNextRequest[request.user.versionedId]?.let {
136- if (it > nextRequestTime) it else nextRequestTime
137- } ? : nextRequestTime
135+ userNextRequest[request.user.versionedId] =
136+ userNextRequest[request.user.versionedId]?.let {
137+ if (it > nextRequestTime) it else nextRequestTime
138+ } ? : nextRequestTime
138139 } else {
139140 if (request.startDate.plus(TIME_AFTER_REQUEST ).isBefore(Instant .now())) {
140141 logger.info(" No records found, updating offsets to end date.." )
You can’t perform that action at this time.
0 commit comments