Skip to content

Commit b900708

Browse files
fixup! Fix cache build for honoring mapped concurrency
Synchronize a new constructor with changes made in the one obsoleted by this PR
1 parent 0d345c9 commit b900708

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NHibernate/Cache/UpdateTimestampsCache.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public UpdateTimestampsCache(ICache cache)
4747
{
4848
log.Info("starting update timestamps cache at region: {0}", cache.RegionName);
4949
updateTimestamps = cache;
50+
// ReSharper disable once SuspiciousTypeConversion.Global
51+
_batchUpdateTimestamps = updateTimestamps as IBatchableReadOnlyCache;
5052
}
5153

5254
//Since v5.1

0 commit comments

Comments
 (0)