Skip to content

Commit

Permalink
Merge pull request #40 from ndrwrbgs/b37
Browse files Browse the repository at this point in the history
Change argument named 'key' to pass local variable key instead of cachePath
  • Loading branch information
acarteas authored Sep 16, 2020
2 parents 15d0818 + 3dd505c commit 23efe5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileCache/FileCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ public override object Get(string key, string regionName = null)
if (payload.Policy.SlidingExpiration > new TimeSpan())
{
payload.Policy.AbsoluteExpiration = DateTime.Now.Add(payload.Policy.SlidingExpiration);
WriteHelper(PayloadWriteMode, cachedItemPath, payload, regionName, true);
WriteHelper(PayloadWriteMode, key, payload, regionName, true);
}

}
Expand Down

0 comments on commit 23efe5f

Please sign in to comment.