summaryrefslogtreecommitdiffstats
path: root/src/config.cpp.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.cpp.template')
-rw-r--r--src/config.cpp.template32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/config.cpp.template b/src/config.cpp.template
deleted file mode 100644
index e1128a4..0000000
--- a/src/config.cpp.template
+++ /dev/null
@@ -1,32 +0,0 @@
-#include "config.h"
-
-config::config() {
- host = "127.0.0.1";
- port = 34000;
- max_connections = 512;
- max_read_buffer = 4096;
- max_request_size = 4096;
- timeout_interval = 20;
- schedule_interval = 3;
- max_middlemen = 5000;
-
- announce_interval = 1800;
- peers_timeout = 2700; //Announce interval * 1.5
-
- reap_peers_interval = 1800;
- del_reason_lifetime = 604800;
-
- // MySQL
- mysql_db = "gazelle";
- mysql_host = "127.0.0.1:3306";
- mysql_username = "***";
- mysql_password = "***";
-
- // Site communication
- site_host = "localhost";
- site_password = "********************************"; // MUST BE 32 CHARS
- site_path = ""; // If the site is not running under the domain root
-
- // Key to use for /report?get=stats and /report?get=user&key=<passkey> requests
- report_password = "********************************"; // MUST BE 32 CHARS
-}