mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(tools): XHProf 数据清理任务与定时注册
This commit is contained in:
@@ -45,4 +45,20 @@ return [
|
||||
'concurrency' => 1,
|
||||
'run_type' => 'auto',
|
||||
],
|
||||
[
|
||||
'name' => 'xhprof_import',
|
||||
'type' => 'site',
|
||||
'target' => '/tools/timer.XhprofLogImport/do',
|
||||
'frequency' => 60,
|
||||
'concurrency' => 1,
|
||||
'run_type' => 'all',
|
||||
],
|
||||
[
|
||||
'name' => 'xhprof_clean',
|
||||
'type' => 'site',
|
||||
'target' => '/tools/timer.XhprofRunClean/do',
|
||||
'frequency' => 86400,
|
||||
'concurrency' => 1,
|
||||
'run_type' => 'auto',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user