-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.php
43 lines (41 loc) · 1.46 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
return [
'logger' => [
'logger' => 2,
'logger_level' => 2,
],
];
/*
const ULTRA_VERBOSE = 5;
const VERBOSE = 4;
const NOTICE = 3;
const WARNING = 2;
const ERROR = 1;
const FATAL_ERROR = 0;
const NO_LOGGER = 0;
const DEFAULT_LOGGER = 1;
const FILE_LOGGER = 2;
const ECHO_LOGGER = 3;
const CALLABLE_LOGGER = 4;
$settings['serialization']['cleanup_before_serialization'] = true;
$settings['app_info']['device_model'] = 'Apache2.4';
$settings['app_info']['system_version'] = PHP_VERSION;
$settings['max_tries']['query'] = 2;
$settings['max_tries']['response'] = 2;
$settings['flood_timeout']['wait_if_lt'] = 10*60;
$settings['msg_array_limit']['incoming'] = 200;
$settings['msg_array_limit']['outgoing'] = 200;
$settings['msg_array_limit']['call_queue'] = 200;
$settings['peer']['full_info_cache_time'] = 60*60;
$settings['peer']['full_fetch'] = false;
$settings['peer']['cache_all_peers_on_startup'] = false;
$settings['requests']['gzip_encode_if_gt'] = 1024*1024;
$settings['updates']['getdifference_interval'] = 10;
$settings['updates']['callback'] = 'get_updates_update_handler';
$settings['updates']['run_callback'] = true;
$settings['authorization']['default_temp_auth_key_expires_in'] = 3*86400; //3 days
$settings['connection_settings']['all']['timeout'] = 3;
$settings['connection_settings']['all']['proxy'] = '\Socket';
$settings['connection_settings']['all']['pfs'] = false;
$settings['tl_schema']['layer'] = 75;
*/