Skip to content

Commit 264f881

Browse files
committed
reduse light user cache ttl
1 parent bc87137 commit 264f881

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/user/src/main/LightUserApi.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ final class LightUserApi(repo: UserRepo, cacheApi: CacheApi)(using Executor)
5252
,
5353
default = id => LightUser(id, id.into(UserName), None, None, PatronMonths.zero, None).some,
5454
strategy = Syncache.Strategy.WaitAfterUptime(10.millis),
55-
expireAfter = Syncache.ExpireAfter.Write(13.minutes)
55+
expireAfter = Syncache.ExpireAfter.Write(10.minutes)
5656
)
5757

5858
private given BSONDocumentReader[LightUser] with

0 commit comments

Comments
 (0)