diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-11 16:55:16 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-11 16:55:16 +0200 |
commit | 9c03659b323eb27ca447f7448512aa0e6c03e025 (patch) | |
tree | e273ddf07c1b59bfa9399ebabd5a353ae487d083 /src/cachemanager.cc | |
parent | 116995d58e0e1f4bb85f8dd10d7d07afe06e8f28 (diff) |
Initializing localcache.
Diffstat (limited to 'src/cachemanager.cc')
-rw-r--r-- | src/cachemanager.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cachemanager.cc b/src/cachemanager.cc index c193db8..f7fc730 100644 --- a/src/cachemanager.cc +++ b/src/cachemanager.cc @@ -62,6 +62,8 @@ void CacheManager::init(size_t poolsize) localcachepos[i] = 0; } + localcache.resize(poolsize); + running = true; run(); |