jpodwys / cache-service-redis

A redis plugin for cache-service.
MIT License
7 stars 9 forks source link

When common refresh callback is used store gets confused #7

Closed thanpolas closed 8 years ago

thanpolas commented 8 years ago

We added a second cache key that we need refreshed on our project and used the same callback on both cache stores.

That resulted in the 1st cache to be saved using the 2nds key name and the 2nd cache refresh never getting invoked.

The problem got resolved when we separated the refresh callbacks.

thanpolas commented 8 years ago

Nope, this presents in either case, found the issue, sending a fix.