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
05ecfe96
Commit
05ecfe96
authored
Jul 13, 2022
by
杨昕
Browse files
Options
Browse Files
Download
Plain Diff
ldfjsdlferge branch 'test' of gitlab.eoffcn.com:yf60144/media-resource into test
parents
1e9dff72
b811f2fc
Pipeline
#18868
passed with stages
in 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
MediaModel.php
app/Model/MediaModel.php
+1
-0
laravels.php
config/laravels.php
+2
-2
healthcheck.php
public/healthcheck.php
+4
-0
No files found.
app/Model/MediaModel.php
View file @
05ecfe96
...
...
@@ -666,6 +666,7 @@ class MediaModel extends Eloquent
LogModel
::
addlog
([
"添加媒资信息"
=>
$data
,
[
'媒资ID为:=> '
.
$id
]]);
return
$id
;
}
...
...
config/laravels.php
View file @
05ecfe96
...
...
@@ -59,8 +59,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
),
...
...
public/healthcheck.php
0 → 100644
View file @
05ecfe96
<?php
echo
"heal ok"
;
?>
\ No newline at end of file
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