mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
feat(timer): 新增日志每日自动清理定时任务
- New LogClean timer controller (site type, frequency 86400s) - run_type defaults to auto, only one node cleans per day - Cleans system_timer_log records older than 30 days
This commit is contained in:
@@ -14,4 +14,11 @@ return [
|
||||
'frequency' => 600,
|
||||
'concurrency' => 1,
|
||||
],
|
||||
[
|
||||
'name' => 'timer_log_clean',
|
||||
'type' => 'site',
|
||||
'target' => '/tools/timer.LogClean/do',
|
||||
'frequency' => 86400,
|
||||
'concurrency' => 1,
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user