feat(timer): 新增配置同步到数据库及主节点选举

T5: TimerServiceBase.syncConfigToDatabase() - syncs task config to DB
T6: HostServiceBase - auto master election, stale node detection,
    getMasterNode/setMasterNode methods
This commit is contained in:
augushong
2026-05-26 02:33:43 +08:00
parent d719a99d14
commit abeac2c3cb
5 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace app\admin\model;
use think\Model;
class SystemTimerConfig extends Model
{
protected $name = 'system_timer_config';
protected $autoWriteTimestamp = true;
}