Mercurial > hg
comparison mercurial/hgweb/request.py @ 51496:79a7616a82b8
branchcache: use update_disk to refresh 'served' and 'served.hidden'
The `update_disk` method is dedicated to this kind of usecase. Now that the writting patterns are more consistent, we can use it to warm these two important cache.
I am dropping the first comment about "refreshing all the others" because it is
false. If a branchmap already exist for "served", none of the subset will be
updated.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 10 Mar 2024 03:29:12 +0100 |
parents | 9ed281bbf864 |
children | 278af66e6595 |
comparison
equal
deleted
inserted
replaced
51495:0c684ca692a4 | 51496:79a7616a82b8 |
---|