refactor: Optimize cache cleaning policy configuration flow #2

Merged
td-zhangshun merged 1 commits from fix-clearnig into v24.9-td 2025-04-24 05:17:26 +00:00

1 Commits

Author SHA1 Message Date
e20cf4f2fe refactor: Optimize cache cleaning policy configuration flow
Move the common cleaning policy setting outside the conditional block to ensure
it's always set first, regardless of the policy type. This change maintains
the specific parameter settings for 'acp' and 'alru' policies while improving
code structure and execution flow.
2025-04-24 10:25:56 +08:00