added hot sessions
This commit is contained in:
parent
1fe612ef8f
commit
26c3bdac70
7 changed files with 74 additions and 51 deletions
|
|
@ -1 +1,4 @@
|
|||
8.0.0
|
||||
- Replaced the existing caching mechanism with memcached, which results in a 400% improvement to cache speed. See migration.txt for API changes and gotcha.txt for prereq changes.
|
||||
- Added "hot sessions" so sessions interact with the database less.
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ 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("cacheServers", [ { "socket" => "/data/wre/var/memcached.sock", "host" => "127.0.0.1", "port" => "11211" } ]);
|
||||
$config->set("hotSessionFlushToDb", 600);
|
||||
$config->delete("disableCache");
|
||||
$config->delete("cacheType");
|
||||
$config->delete("fileCacheRoot");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue