From c1077faa281c5635f85b892e605e23bd6c8fcc3b Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 13 Dec 2012 06:12:56 -0500 Subject: Optimize much of the database code and serialize code. --- data/example.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'data') 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" } -- cgit