nebula-contrib / ngbatis

NGBATIS is a database ORM framework base NebulaGraph + spring-boot, which takes advantage of the mybatis’ fashion development, including some de-factor operations in single table and vertex-edge, like mybatis-plus. NGBATIS 是一款针对 NebulaGraph + Springboot 的数据库 ORM 框架。借鉴于 MyBatis 的使用习惯进行开发。https://graph-cn.github.io/ngbatis-docs/
https://nebula-contrib.github.io/ngbatis/
Apache License 2.0
125 stars 42 forks source link

java.net.SocketException: Socket closed #283

Open zhihangv2 opened 8 months ago

zhihangv2 commented 8 months ago

image

有时候会报这个错误,是连接池的原因吗? image

CorvusYe commented 8 months ago

可以看下yml文件吗,里面有两个参数:

nebula:
  ngbatis:
    session-life-length: 300000
    check-fixed-rate: 300000

如果这个值太长,有可能因为连接太久失活而导致无法清理