cheshire-cat-ai / core

Production ready AI agent framework
https://cheshirecat.ai
GNU General Public License v3.0
2.14k stars 282 forks source link

Close ws connections inactive for more than x seconds #846

Open pieroit opened 1 month ago

pieroit commented 1 month ago

At the moment all ws connections remain open forever XD We can check the old ones and close them, maybe using the WhiteRabbit by @jacopopalumbo01 or (tmp) just running a loop on active connections when a new user tries to connect, and close the old inactive ones

pieroit commented 2 weeks ago

Can be done with the WhiteRabbit

jacopopalumbo01 commented 2 weeks ago

I'm here