diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-11 16:55:16 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:22:44 +0100 |
commit | f5ad8d9b298fb6e5f0b2f81678490fbee4376ec5 (patch) | |
tree | 61c2c477d790cc06bb146926966d6398a2ff5552 | |
parent | d8fef655a7b3dd0aa71ce7bb015c27f8731ba514 (diff) |
Initializing localcache.
-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(); |