🤖 自动格式化代码 [skip ci]
This commit is contained in:
@@ -249,6 +249,7 @@ class BackgroundTaskManager:
|
|||||||
async def _perform_random_deactivation_work(self):
|
async def _perform_random_deactivation_work(self):
|
||||||
"""执行一轮子心流随机停用检查。"""
|
"""执行一轮子心流随机停用检查。"""
|
||||||
await self.subheartflow_manager.randomly_deactivate_subflows()
|
await self.subheartflow_manager.randomly_deactivate_subflows()
|
||||||
|
|
||||||
# --- 结束新增 ---
|
# --- 结束新增 ---
|
||||||
|
|
||||||
# --- Specific Task Runners --- #
|
# --- Specific Task Runners --- #
|
||||||
|
|||||||
@@ -406,7 +406,6 @@ class HeartFChatting:
|
|||||||
if cycle_duration > 0.1:
|
if cycle_duration > 0.1:
|
||||||
logger.debug(f"{log_prefix} HeartFChatting: 周期耗时 {cycle_duration:.2f}s.")
|
logger.debug(f"{log_prefix} HeartFChatting: 周期耗时 {cycle_duration:.2f}s.")
|
||||||
|
|
||||||
|
|
||||||
# --- Delay --- #
|
# --- Delay --- #
|
||||||
try:
|
try:
|
||||||
sleep_duration = 0.0
|
sleep_duration = 0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user