Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
media-resource
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨昕
media-resource
Commits
c00839a9
Commit
c00839a9
authored
Aug 11, 2020
by
周业恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update laravels.php
parent
a6b3f90a
Pipeline
#10617
passed with stages
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
laravels.php
config/laravels.php
+2
-2
No files found.
config/laravels.php
View file @
c00839a9
...
...
@@ -57,8 +57,8 @@ return [
'swoole'
=>
[
'daemonize'
=>
env
(
'LARAVELS_DAEMONIZE'
,
false
),
'dispatch_mode'
=>
2
,
'reactor_num'
=>
env
(
'LARAVELS_REACTOR_NUM'
,
function_exists
(
'swoole_cpu_num'
)
?
swoole_cpu_num
()
*
2
:
4
),
'worker_num'
=>
env
(
'LARAVELS_WORKER_NUM'
,
function_exists
(
'swoole_cpu_num'
)
?
swoole_cpu_num
()
*
2
:
8
),
'reactor_num'
=>
env
(
'LARAVELS_REACTOR_NUM'
,
function_exists
(
'swoole_cpu_num'
)
?
swoole_cpu_num
()
*
1
:
2
),
'worker_num'
=>
env
(
'LARAVELS_WORKER_NUM'
,
function_exists
(
'swoole_cpu_num'
)
?
swoole_cpu_num
()
*
1
:
4
),
//'task_worker_num' => env('LARAVELS_TASK_WORKER_NUM', function_exists('swoole_cpu_num') ? swoole_cpu_num() * 2 : 8),
'task_ipc_mode'
=>
1
,
'task_max_request'
=>
env
(
'LARAVELS_TASK_MAX_REQUEST'
,
8000
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment