Reidddddd commented on PR #118:
URL: https://github.com/apache/hbase-connectors/pull/118#issuecomment-1664950132
not really understand and still confused
what's the difference with this block
```
if(forceClean || ((x._2.refCount <= 0) && (tsNow - x._2.timestamp
> timeout))) {
try{
x._2.connection.close()
} catch {
case e: IOException => logWarning(s"Fail to close connection
${x._2}", e)
}
connectionMap.remove(x._1)
}
```
it also has a `timeout` para, also remove from connectionMap.
why still need to introduce max live limit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]