feat(tools): XHProf 数据清理任务与定时注册

This commit is contained in:
augushong
2026-08-15 05:47:34 +08:00
parent 7e73902325
commit b472df8c1d
4 changed files with 220 additions and 1 deletions

View File

@@ -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',
],
];