Close sleeping connections to DB

This commit is contained in:
Alexander Pankratov 2022-08-24 07:48:16 +03:00
parent 4511cd8e63
commit c6d2bedbb2
2 changed files with 21 additions and 20 deletions

39
composer.lock generated
View File

@ -720,16 +720,16 @@
},
{
"name": "amphp/http-server",
"version": "v2.1.5",
"version": "v2.1.7",
"source": {
"type": "git",
"url": "https://github.com/amphp/http-server.git",
"reference": "70456948a96778abd6462e96bb07759ab958d6c5"
"reference": "850f1b22ad0f3459c6ef6e89e897c8abf2b18b4c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/amphp/http-server/zipball/70456948a96778abd6462e96bb07759ab958d6c5",
"reference": "70456948a96778abd6462e96bb07759ab958d6c5",
"url": "https://api.github.com/repos/amphp/http-server/zipball/850f1b22ad0f3459c6ef6e89e897c8abf2b18b4c",
"reference": "850f1b22ad0f3459c6ef6e89e897c8abf2b18b4c",
"shasum": ""
},
"require": {
@ -806,7 +806,7 @@
],
"support": {
"issues": "https://github.com/amphp/http-server/issues",
"source": "https://github.com/amphp/http-server/tree/v2.1.5"
"source": "https://github.com/amphp/http-server/tree/v2.1.7"
},
"funding": [
{
@ -814,7 +814,7 @@
"type": "github"
}
],
"time": "2021-12-14T23:24:42+00:00"
"time": "2022-08-16T13:29:25+00:00"
},
{
"name": "amphp/http-server-form-parser",
@ -2349,16 +2349,16 @@
},
{
"name": "danog/madelineproto",
"version": "7.0.114.9999",
"version": "7.0.121.9999",
"source": {
"type": "git",
"url": "https://github.com/danog/MadelineProto.git",
"reference": "0fe97e7d286ffd3f0f631d375ae815d9c6e875df"
"reference": "75e5e5cf610d462ad894c7db88833816e5499778"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/danog/MadelineProto/zipball/0fe97e7d286ffd3f0f631d375ae815d9c6e875df",
"reference": "0fe97e7d286ffd3f0f631d375ae815d9c6e875df",
"url": "https://api.github.com/repos/danog/MadelineProto/zipball/75e5e5cf610d462ad894c7db88833816e5499778",
"reference": "75e5e5cf610d462ad894c7db88833816e5499778",
"shasum": ""
},
"require": {
@ -2462,7 +2462,7 @@
],
"support": {
"issues": "https://github.com/danog/MadelineProto/issues",
"source": "https://github.com/danog/MadelineProto/tree/7.0.114.9999"
"source": "https://github.com/danog/MadelineProto/tree/7.0.121.9999"
},
"funding": [
{
@ -2470,7 +2470,7 @@
"type": "github"
}
],
"time": "2022-07-29T10:29:43+00:00"
"time": "2022-08-15T15:43:32+00:00"
},
{
"name": "danog/magicalserializer",
@ -4020,18 +4020,19 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "8b99cfd0a6224d0fc7b223603210d48e36a79966"
"reference": "bd4a45f60f097f0c44f77c6d72caa24ebc9b9f66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/8b99cfd0a6224d0fc7b223603210d48e36a79966",
"reference": "8b99cfd0a6224d0fc7b223603210d48e36a79966",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/bd4a45f60f097f0c44f77c6d72caa24ebc9b9f66",
"reference": "bd4a45f60f097f0c44f77c6d72caa24ebc9b9f66",
"shasum": ""
},
"conflict": {
"3f/pygmentize": "<1.2",
"admidio/admidio": "<4.1.9",
"adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3",
"aheinze/cockpit": "<=2.2.1",
"akaunting/akaunting": "<2.1.13",
"alextselegidis/easyappointments": "<=1.4.3",
"alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1",
@ -4075,6 +4076,7 @@
"codeception/codeception": "<3.1.3|>=4,<4.1.22",
"codeigniter/framework": "<=3.0.6",
"codeigniter4/framework": "<4.1.9",
"codeigniter4/shield": "= 1.0.0-beta",
"codiad/codiad": "<=2.8.4",
"composer/composer": "<1.10.26|>=2-alpha.1,<2.2.12|>=2.3,<2.3.5",
"concrete5/concrete5": "<9",
@ -4211,7 +4213,6 @@
"laminas/laminas-http": "<2.14.2",
"laravel/fortify": "<1.11.1",
"laravel/framework": "<6.20.42|>=7,<7.30.6|>=8,<8.75",
"laravel/laravel": "<=9.1.8",
"laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10",
"latte/latte": "<2.10.8",
"lavalite/cms": "<=5.8",
@ -4235,7 +4236,7 @@
"mautic/core": "<4.3|= 2.13.1",
"mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35",
"mezzio/mezzio-swoole": "<3.7|>=4,<4.3",
"microweber/microweber": "<1.3",
"microweber/microweber": "<1.3.1",
"miniorange/miniorange-saml": "<1.4.3",
"mittwald/typo3_forum": "<1.2.1",
"modx/revolution": "<= 2.8.3-pl|<2.8",
@ -4299,7 +4300,7 @@
"pimcore/data-hub": "<1.2.4",
"pimcore/pimcore": "<10.4.4",
"pocketmine/bedrock-protocol": "<8.0.2",
"pocketmine/pocketmine-mp": ">= 4.0.0-BETA5, < 4.4.2|<4.2.10",
"pocketmine/pocketmine-mp": "<4.7.2|>= 4.0.0-BETA5, < 4.4.2",
"pressbooks/pressbooks": "<5.18",
"prestashop/autoupgrade": ">=4,<4.10.1",
"prestashop/blockwishlist": ">=2,<2.1.1",
@ -4527,7 +4528,7 @@
"type": "tidelift"
}
],
"time": "2022-08-06T06:06:57+00:00"
"time": "2022-08-22T17:06:07+00:00"
}
],
"aliases": [],

View File

@ -32,7 +32,7 @@ services:
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MARIADB_AUTO_UPGRADE: "1"
command: ["mysqld", "--innodb-buffer-pool-size=16M"]
command: ["mysqld", "--innodb-buffer-pool-size=16M", "--wait_timeout=65"]
networks:
default:
name: telegram-api-server