summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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" }