Skip to content

Commit

Permalink
Merge pull request #157 from mdsol/tech/fix_request_cache
Browse files Browse the repository at this point in the history
MCC-1090118: Fix defaultCache for Http4s
  • Loading branch information
jdepassos-mdsol authored Jul 18, 2023
2 parents f049d9e + 44336b1 commit c7cfa87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ object MauthPublicKeyProvider {

// this provides a default implementation of the cache to be used with the public key provider, and frees the user to
// inject their own cache
implicit def defaultCache[F[_]: Sync]: Cache[F, UUID, Option[PublicKey]] =
CaffeineCache[F, UUID, Option[PublicKey]](
Caffeine.newBuilder().build[UUID, Entry[Option[PublicKey]]]()
implicit def defaultCache[F[_]: Sync]: Cache[F, UUID, F[Option[PublicKey]]] =
CaffeineCache[F, UUID, F[Option[PublicKey]]](
Caffeine.newBuilder().build[UUID, Entry[F[Option[PublicKey]]]]()
)

}

0 comments on commit c7cfa87

Please sign in to comment.