summaryrefslogtreecommitdiff
path: root/server/src/environment.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/environment.cc')
-rw-r--r--server/src/environment.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/environment.cc b/server/src/environment.cc
index 9904afc..f1e035e 100644
--- a/server/src/environment.cc
+++ b/server/src/environment.cc
@@ -34,11 +34,12 @@ Environment::Environment()
: 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);
}
@@ -46,6 +47,7 @@ Environment::Environment()
Environment::~Environment()
{
+ /*
// Remove, but wait until resources are released
std::list<Database*> dblst = dbpool.clear(false);
std::list<Database*>::iterator i = dblst.begin();
@@ -53,7 +55,7 @@ Environment::~Environment()
delete *i;
i++;
}
-
+ */
// Remove, but wait until resources are released
std::list<Artefact*> atflst = atfpool.clear(false);
std::list<Artefact*>::iterator j = atflst.begin();