added new cache to upgrade

This commit is contained in:
Doug Bell 2010-04-19 12:00:36 -05:00
parent 9015df5f98
commit ef89051084

View file

@ -40,7 +40,10 @@ sub migrateToNewCache {
unlink "../../lib/WebGUI/Workflow/Activity/CleanDatabaseCache.pm";
unlink "../../lib/WebGUI/Workflow/Activity/CleanFileCache.pm";
my $config = $session->config;
$config->set("cacheServers", [ { "socket" => "/data/wre/var/memcached.sock", "host" => "127.0.0.1", "port" => "11211" } ]);
$config->set("cache", {
"driver" => "FastMmap",
"expires_variance" => "0.10",
});
$config->set("hotSessionFlushToDb", 600);
$config->delete("disableCache");
$config->delete("cacheType");