Skip to content

Commit

Permalink
Merge pull request #22 from acarteas/develop
Browse files Browse the repository at this point in the history
Fix issue #18
  • Loading branch information
acarteas authored Sep 28, 2018
2 parents 15bf8f0 + c9e97bc commit 2ff89d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/FileCache/FileCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -964,9 +964,7 @@ public override object Get(string key, string regionName = null)
payload.Policy.AbsoluteExpiration = DateTime.Now.Add(payload.Policy.SlidingExpiration);
WriteFile(cachedItemPath, payload, regionName);
}

//update the file's access time
File.SetLastAccessTime(cachedItemPath, DateTime.Now);

}
}
else
Expand Down

0 comments on commit 2ff89d3

Please sign in to comment.