Skip to content

Commit

Permalink
capturar la cadena de conexion para redis desde REDISTOGO_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
angelcolmenares committed Jun 29, 2012
1 parent 1d19dc2 commit eb89686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aicl.Colmetrik.Host.Web/AppHost.cs
Expand Up @@ -90,7 +90,7 @@ public override void Configure(Container container)
double se= appSettings.Get("DefaultSessionExpiry", 480);
AuthProvider.DefaultSessionExpiry=TimeSpan.FromMinutes(se);

string cacheHost=appSettings.Get("REDISTOGO_URL","localhost:6379");
string cacheHost= appSettings.Get("REDISTOGO_URL","localhost:6379").Replace("redis://redistogo-appharbor:","").Replace("/","");

var p = new BasicRedisClientManager(new string[]{cacheHost});

Expand Down

0 comments on commit eb89686

Please sign in to comment.