Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-12-26 17:31:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
891a786c8c24e58b4aeaacd7992bc56a16d27930
891a786c
1 parent
dfe2190b
1.微调一下接口,打印参数
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
app/Console/Kernel.php
app/Providers/AppServiceProvider.php
app/Console/Kernel.php
View file @
891a786
...
...
@@ -16,6 +16,9 @@ class Kernel extends ConsoleKernel
protected
function
schedule
(
Schedule
$schedule
)
{
// $schedule->command('inspire')->hourly();
// horizon面板的metrics仪表盘
$schedule
->
command
(
'horizon:snapshot'
)
->
everyFiveMinutes
();
}
/**
...
...
app/Providers/AppServiceProvider.php
View file @
891a786
...
...
@@ -25,7 +25,7 @@ class AppServiceProvider extends ServiceProvider
*/
public
function
boot
()
{
//
//
保证生产模式也能访问到horizon面板
Horizon
::
auth
(
function
()
{
return
true
;
});
...
...
Please
register
or
login
to post a comment