提交 003110e6 编写于 作者: H Heejae Chang

initialize to max value so that there is no conflict when finding oldest cache.

上级 58b6764f
......@@ -37,7 +37,7 @@ public bool Empty
public void Touch(object instance)
{
var oldIndex = -1;
var oldTime = DateTime.UtcNow;
var oldTime = DateTime.MaxValue;
for (var i = 0; i < _nodes.Length; i++)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册