mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
New setting to cleanup madeline
This commit is contained in:
parent
dccd1ab201
commit
963c4d9320
4
composer.lock
generated
4
composer.lock
generated
@ -1268,7 +1268,7 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/xtrime-ru/MadelineProto.git",
|
||||
"reference": "2a00bba1fbf78d49050d003d0b5b53fc71720018"
|
||||
"reference": "09512b4ab58a48cf24a5022811b2130309b62893"
|
||||
},
|
||||
"require": {
|
||||
"amphp/amp": "^2.0",
|
||||
@ -1339,7 +1339,7 @@
|
||||
"telegram",
|
||||
"video"
|
||||
],
|
||||
"time": "2019-06-21T18:22:59+00:00"
|
||||
"time": "2019-06-22T17:03:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "danog/magicalserializer",
|
||||
|
@ -1,5 +1,9 @@
|
||||
<?php
|
||||
|
||||
if (getenv('SWOOLE_SERVER_ADDRESS')) {
|
||||
throw new UnexpectedValueException('Please, update .env file! See .env.example');
|
||||
}
|
||||
|
||||
return [
|
||||
'server' => [
|
||||
'address' => (string)getenv('SERVER_ADDRESS'),
|
||||
@ -30,7 +34,8 @@ return [
|
||||
]
|
||||
],
|
||||
'serialization' => [
|
||||
'serialization_interval' => 36000
|
||||
'serialization_interval' => 300,
|
||||
'cleanup_before_serialization' => true,
|
||||
],
|
||||
],
|
||||
'api' => [
|
||||
|
Loading…
Reference in New Issue
Block a user