Merge pull request #19 from xtrime-ru/db

New line fix
This commit is contained in:
Daniil Gentili 2020-06-12 14:16:42 +02:00 committed by GitHub
commit 328031934a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -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.