mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Make the cache eviction logic for stale entities more robust
Fixes #12458
This commit is contained in:
@@ -487,7 +487,7 @@ Edited!!`, p.Title()))
|
||||
|
||||
// We currently rebuild all the language versions of the same content file.
|
||||
// We could probably optimize that case, but it's not trivial.
|
||||
b.Assert(int(counters.contentRenderCounter.Load()), qt.Equals, 33)
|
||||
b.Assert(int(counters.contentRenderCounter.Load()), qt.Equals, 4)
|
||||
b.AssertFileContent("public"+p.RelPermalink()+"index.html", "Edited!!")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user