fix:manager下发配置字符转数字bug

This commit is contained in:
hrz
2025-04-14 18:30:58 +08:00
parent 2bab917b3e
commit 703ecfae40
13 changed files with 72 additions and 51 deletions
@@ -71,8 +71,8 @@ async def no_voice_close_connect(conn):
conn.client_no_voice_last_time = time.time() * 1000
else:
no_voice_time = time.time() * 1000 - conn.client_no_voice_last_time
close_connection_no_voice_time = conn.config.get(
"close_connection_no_voice_time", 120
close_connection_no_voice_time = int(
conn.config.get("close_connection_no_voice_time", 120)
)
if (
not conn.close_after_chat