summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-12-13 06:12:56 -0500
committerAdam <Adam@anope.org>2012-12-13 06:12:56 -0500
commitc1077faa281c5635f85b892e605e23bd6c8fcc3b (patch)
tree213b5f87a19f182e1efd6110f03ff10d5b10ebf6 /data
parent76ba147c22944b67e8522cd2bb7b6e1bae498ced (diff)
Optimize much of the database code and serialize code.
Diffstat (limited to 'data')
-rw-r--r--data/example.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/example.conf b/data/example.conf
index 8396ffce2..205a0ead9 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -1135,6 +1135,15 @@ db_flatfile
* The database name db_flatfile should use
*/
database = "anope.db"
+
+ /*
+ * If enabled, services will fork a child process to save databases.
+ *
+ * This is only useful with very large databases, with hundreds
+ * of thousands of objects, that have a noticable delay from
+ * writing databases.
+ */
+ fork = no
}
/*
@@ -1154,7 +1163,8 @@ db_flatfile
* This module allows saving and loading databases using one of the SQL engines.
* This module reads and writes to SQL in real time. Changes to the SQL tables
* will be immediately reflected into Anope. This module should not be loaded
- * in conjunction with db_sql.
+ * in conjunction with db_sql, except during the initial import of existing
+ * databases to SQL.
*/
#module { name = "db_sql_live" }