diff options
Diffstat (limited to 'server/src/environment.cc')
-rw-r--r-- | server/src/environment.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/environment.cc b/server/src/environment.cc index a2b7cb9..b40c3ca 100644 --- a/server/src/environment.cc +++ b/server/src/environment.cc @@ -31,15 +31,16 @@ #include "database.h" Environment::Environment() - : macrolist(Conf::xml_basedir + "/macros"), + : sessions(this), + macrolist(Conf::xml_basedir + "/macros"), templatelist(Conf::xml_basedir + "/templates") { - /* + for(int i = 0; i < Conf::database_poolsize; i++) { dbpool.add(new Database(Conf::database_backend, Conf::database_addr, "", Conf::database_user, Conf::database_passwd, "")); } - */ + for(int i = 0; i < Conf::artefact_poolsize; i++) { atfpool.add(new Artefact); } |