mirror of
https://github.com/anope/anope.git
synced 2026-07-07 11:43:12 +02:00
Optimize much of the database code and serialize code.
This commit is contained in:
+11
-1
@@ -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" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user