commit
328031934a
@ -445,7 +445,7 @@ Description: Remove data from the internal database to clean up memory and reduc
|
||||
Settings for database connection.
|
||||
|
||||
### `$settings['db']['type']`
|
||||
Default: 'memory'
|
||||
Default: `'memory'`
|
||||
Description: By default madelineProto keeps all data and caches in memory: chats, file references, username cache, etc.
|
||||
This data can require up to 1Gb of ram and more on some accounts.
|
||||
MadelineProto can keep part of this data in a database, such as mysql or mariadb.
|
||||
@ -490,7 +490,7 @@ Description: Number of seconds until connection will be closed.
|
||||
|
||||
### `$settings['db']['mysql']['cache_ttl']`
|
||||
Default: `'+5 minutes'`
|
||||
Description: Time offset to control how long data is cached in memory.
|
||||
Description: Time offset to control how long data will be stored in memory.
|
||||
This value can be in any format supported by `strtotime` function.
|
||||
|
||||
When data retrieved from a database its stored in memory.
|
||||
|
Loading…
Reference in New Issue
Block a user