Skip to content

[Feature] QueueListener监听逻辑 #4815

@Smurfrey

Description

@Smurfrey

描述

webchat_adapter.py中的QueueListener, 每出现一个新的 conversation_id,就 create_task(listen_to_queue(conversation_id)) 启一个常驻监听协程。如果会话数持续增长,尤其是很多一次性 session,监听 task 数也会持续增长,长期会影响系统性能吧

使用场景

No response

你愿意提交PR吗?

  • 是的, 我愿意提交PR!

Code of Conduct

Metadata

Metadata

Labels

area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.enhancementNew feature or requestfeature:chatuiThe bug / feature is about astrbot's chatui, webchat

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions