From 5401d1db4271e68f724f75c0d54092178dd9a943 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 27 Apr 2026 13:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98=E7=A7=AF=E5=88=86=E9=80=9A?= =?UTF-8?q?=E8=83=80=E5=80=8D=E7=8E=87=E4=B8=8A=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 将群积分通胀策略的默认最高倍率从3倍提升到20倍。 2. 补充中文注释,说明高倍率用于加速消耗长期沉淀的群积分。 --- utils/decorator/points_decorator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/decorator/points_decorator.py b/utils/decorator/points_decorator.py index 0b8afe3..ffcf0ff 100644 --- a/utils/decorator/points_decorator.py +++ b/utils/decorator/points_decorator.py @@ -71,7 +71,10 @@ def _resolve_points_cost_profile(plugin_instance: Any, message: Dict[str, Any], target_spend_ratio = float(_read_points_inflation_config(inflation_config, "target_spend_ratio", 0.08) or 0.08) ratio_per_step = float(_read_points_inflation_config(inflation_config, "ratio_per_step", 0.02) or 0.02) multiplier_step = float(_read_points_inflation_config(inflation_config, "multiplier_step", 0.5) or 0.5) - max_multiplier = float(_read_points_inflation_config(inflation_config, "max_multiplier", 3.0) or 3.0) + # 这里把默认最高倍率提升到 20 倍: + # 当群积分长期沉淀、插件消耗占比持续偏低时,允许系统更激进地抬高消耗, + # 这样才能更快把“花不掉的积分”重新赶回流通。 + max_multiplier = float(_read_points_inflation_config(inflation_config, "max_multiplier", 20.0) or 20.0) try: db_manager = DBConnectionManager.get_instance()