Skip to content

Commit

Permalink
默认关闭tracker和crond
Browse files Browse the repository at this point in the history
  • Loading branch information
toxmc committed Jan 7, 2020
1 parent cb8d585 commit 4ebcf65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions config/swoole_http.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@
| see:https://github.com/perftools/xhgui
*/
'tracker' => [
'enable' => true,
// only support mongodb and file
'handler' => 'mongodb',
'filename' => function($url) {
'enable' => false,
'handler' => 'mongodb', // only support mongodb and file
'filename' => function ($url) {
$time = microtime(true);
$url = substr(md5($url), 0, 6);
return storage_path("tracker/xhgui.data.{$time}_{$url}");
Expand Down Expand Up @@ -136,7 +135,7 @@
|--------------------------------------------------------------------------
*/
'processes' => [
FastLaravel\Http\Process\Crond::class => 'crond',
// FastLaravel\Http\Process\Crond::class => 'crond',
],

/*
Expand Down
1 change: 1 addition & 0 deletions fast-laravel

0 comments on commit 4ebcf65

Please sign in to comment.