Fixing cache implementation

This commit is contained in:
Simon Zeltser 2018-06-25 09:44:56 -07:00
parent 3262ff82b0
commit c3c76effea
8 changed files with 99 additions and 86 deletions

View file

@ -34,6 +34,7 @@ namespace cartservice
// The busy wait is because when we run in a container, we can't use techniques such as waiting on user input (Console.Readline())
Task.Run(() =>
{
//var store = new LocalCartStore();
var store = new RedisCartStore(redisAddress);
Server server = new Server
{
@ -50,8 +51,6 @@ namespace cartservice
{
Thread.Sleep(TimeSpan.FromMinutes(10));
}
return null;
}
static void Main(string[] args)