mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-09 04:19:32 +08:00
add swoole options
This commit is contained in:
parent
3badd7f7a3
commit
b0c6a6defa
@ -24,6 +24,7 @@
|
||||
"league/flysystem-webdav": "^3.0",
|
||||
"overtrue/flysystem-cos": "^5.0",
|
||||
"overtrue/flysystem-qiniu": "^3.0",
|
||||
"swoole/ide-helper": "^4.8",
|
||||
"wispx/flysystem-upyun": "^1.0",
|
||||
"zing/flysystem-oss": "^2.1"
|
||||
},
|
||||
|
44
composer.lock
generated
44
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "611dd24a26159f4429cb23742e3ba089",
|
||||
"content-hash": "1b6faa7f769eb59e1538bb3bd3f7823b",
|
||||
"packages": [
|
||||
{
|
||||
"name": "adbario/php-dot-notation",
|
||||
@ -5472,6 +5472,48 @@
|
||||
},
|
||||
"time": "2021-11-04T06:37:27+00:00"
|
||||
},
|
||||
{
|
||||
"name": "swoole/ide-helper",
|
||||
"version": "4.8.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/swoole/ide-helper.git",
|
||||
"reference": "62d306dcfdb7c2cd21768386955af9de387163f9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/swoole/ide-helper/zipball/62d306dcfdb7c2cd21768386955af9de387163f9",
|
||||
"reference": "62d306dcfdb7c2cd21768386955af9de387163f9",
|
||||
"shasum": ""
|
||||
},
|
||||
"type": "library",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Team Swoole",
|
||||
"email": "team@swoole.com"
|
||||
}
|
||||
],
|
||||
"description": "IDE help files for Swoole.",
|
||||
"support": {
|
||||
"issues": "https://github.com/swoole/ide-helper/issues",
|
||||
"source": "https://github.com/swoole/ide-helper/tree/4.8.7"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://gitee.com/swoole/swoole?donate=true",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/swoole",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2022-02-23T01:04:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/console",
|
||||
"version": "v6.0.5",
|
||||
|
@ -20,6 +20,7 @@ use Laravel\Octane\Listeners\FlushUploadedFiles;
|
||||
use Laravel\Octane\Listeners\ReportException;
|
||||
use Laravel\Octane\Listeners\StopWorkerIfNecessary;
|
||||
use Laravel\Octane\Octane;
|
||||
use Swoole\Constant;
|
||||
|
||||
return [
|
||||
|
||||
@ -216,6 +217,23 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'max_execution_time' => 30,
|
||||
'max_execution_time' => 0,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Swoole
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The Swoole options
|
||||
|
|
||||
*/
|
||||
'swoole' => [
|
||||
'options' => [
|
||||
Constant::OPTION_MAX_REQUEST => 100000,
|
||||
Constant::OPTION_PACKAGE_MAX_LENGTH => 50 * 1024 * 1024,
|
||||
Constant::OPTION_SOCKET_BUFFER_SIZE => 50 * 1024 * 1024,
|
||||
Constant::OPTION_BUFFER_OUTPUT_SIZE => 50 * 1024 * 1024,
|
||||
]
|
||||
]
|
||||
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user