Skip to content

Commit

Permalink
fix: ExpiringTokensFinder locked on the date of service start
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Dec 16, 2023
1 parent 0d2c889 commit c4f6dc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private class ExpiringTokensFinderImpl[F[_]: Async: SessionResource: QueriesExec
(Stream.eval(SessionResource[F].useK(measureExecutionTime(query))) ++ fetchAllChunks)
.takeWhile(_.nonEmpty)

private lazy val query =
private def query =
SqlStatement
.named("find expiring tokens")
.select[LocalDate, (Project, EncryptedAccessToken)](
Expand Down

0 comments on commit c4f6dc9

Please sign in to comment.