cache only 100 video tags paths

This commit is contained in:
Thibault Duplessis 2015-08-13 22:04:20 +02:00
parent 2af884d09f
commit 8cf368b090

View file

@ -221,7 +221,7 @@ private[video] final class VideoApi(
}
}
},
timeToLive = 1.day)
maxCapacity = 100)
private val popularCache = AsyncCache.single[List[TagNb]](
f = videoColl.aggregate(