Skip to content

Commit

Permalink
reduce light user cache blocking timeout duration
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 22, 2019
1 parent d8e6bcb commit 1f5f5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/user/src/main/LightUserApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class LightUserApi(repo: UserRepo)(
initialCapacity = 131072,
compute = id => repo.coll.find($id(id), projection).one[LightUser],
default = id => LightUser(id, id, None, false).some,
strategy = Syncache.WaitAfterUptime(10 millis),
strategy = Syncache.WaitAfterUptime(8 millis),
expireAfter = Syncache.ExpireAfterWrite(20 minutes),
logger = logger branch "LightUserApi"
)
Expand Down

0 comments on commit 1f5f5c5

Please sign in to comment.