cache only 100 video tags paths
This commit is contained in:
parent
2af884d09f
commit
8cf368b090
|
@ -221,7 +221,7 @@ private[video] final class VideoApi(
|
|||
}
|
||||
}
|
||||
},
|
||||
timeToLive = 1.day)
|
||||
maxCapacity = 100)
|
||||
|
||||
private val popularCache = AsyncCache.single[List[TagNb]](
|
||||
f = videoColl.aggregate(
|
||||
|
|
Loading…
Reference in a new issue