summaryrefslogtreecommitdiff
path: root/server/src/configuration.cc
diff options
context:
space:
mode:
authordeva <deva>2010-01-06 07:47:58 +0000
committerdeva <deva>2010-01-06 07:47:58 +0000
commit0e819eb42b4d680a99ae7b04702bfc9510495aee (patch)
treea425aeb98c679a0891a974b6f93090343d51a4e8 /server/src/configuration.cc
parent582913fc18937c87afe7d351e66095dccb435a9e (diff)
New artefact connection class (to later wrap libartefact). New environment class to hold all global resources. Made ConnectionPool a template class. Split journal code up into two files (class from commit code).
Diffstat (limited to 'server/src/configuration.cc')
-rw-r--r--server/src/configuration.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/server/src/configuration.cc b/server/src/configuration.cc
index 34729c4..4d61079 100644
--- a/server/src/configuration.cc
+++ b/server/src/configuration.cc
@@ -38,17 +38,21 @@ port_t Conf::journal_commit_port = 18112;
time_t Conf::db_max_ttl = 7 * 60 * 60 * 24;
time_t Conf::pentominos_max_ttl = 7 * 60 * 60 * 24;
-std::string Conf::pentominos_addr = "localhost";
-port_t Conf::pentominos_port = 11108;
+std::string Conf::artefact_addr = "localhost";
+port_t Conf::artefact_port = 11108;
+
+int Conf::artefact_poolsize = 1;
std::string Conf::database_backend = "pgsql";
std::string Conf::database_addr = "localhost";
std::string Conf::database_user = "pracro";
std::string Conf::database_passwd = "pracro";
+int Conf::database_poolsize = 2;
+
std::string Conf::xml_basedir = XML;
-bool Conf::use_ssl = false;
+bool Conf::use_ssl = false;
std::string Conf::ssl_key = "";
std::string Conf::ssl_cert = "";