comparison OrthancServer/ServerContext.cpp @ 269:f6fdf5abe751

recycling up and running
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Dec 2012 14:46:44 +0100
parents 6d9be2b470b4
children 4031f73fe0e4
comparison
equal deleted inserted replaced
268:4bc02e2254ec 269:f6fdf5abe751
51 ServerContext::ServerContext(const boost::filesystem::path& path) : 51 ServerContext::ServerContext(const boost::filesystem::path& path) :
52 storage_(path.string()), 52 storage_(path.string()),
53 index_(*this, path.string()), 53 index_(*this, path.string()),
54 accessor_(storage_) 54 accessor_(storage_)
55 { 55 {
56 // TODO RECYCLING SETUP HERE
57 //index_.SetMaximumPatientCount(4);
58 //index_.SetMaximumStorageSize(10);
56 } 59 }
57 60
58 void ServerContext::SetCompressionEnabled(bool enabled) 61 void ServerContext::SetCompressionEnabled(bool enabled)
59 { 62 {
60 if (enabled) 63 if (enabled)