Timeout release problem of swoole Cooperative redis connection Pool

use the redis, of the swoole protocol and then implement the connection pool by yourself (just a yii2-swoole written by a big god), which is stored in SplQueue, but I found that after the connection is inside, when it is idle for a long time, these connections are not broken, and the number of connections in redis has not been reduced. I want to know how to set parameters to make it automatically disconnect

.
Feb.07,2022

write your own timing to traverse the connection, and time out to release

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e999ac-176c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e999ac-176c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?