mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-14 23:02:14 +08:00
perf: improve config processing (#6091)
* perf: improve config processing * perf: enhance profile reordering logic and adjust logging level * perf: add PartialEq derive to PrfSelected and PrfExtra structs for improved comparison * perf: refactor PrfOption merge logic and streamline update_item method in IProfiles * perf: simplify current_mapping and profiles_preview methods in IProfiles for improved readability * perf: optimize filename matching logic in IProfiles by using a static regex
This commit is contained in:
@@ -25,6 +25,7 @@ pub struct TimerTask {
|
||||
pub last_run: i64, // Timestamp of last execution
|
||||
}
|
||||
|
||||
// TODO 一个 Timer 负责轻量, 一个 Timer 负责订阅更新。当前会生产 N(订阅数量) + 1 个定时任务
|
||||
pub struct Timer {
|
||||
/// cron manager
|
||||
pub delay_timer: Arc<RwLock<DelayTimer>>,
|
||||
|
||||
Reference in New Issue
Block a user