1

配置属性 "maxConnectionPoolSize" 的实际值是多少?我正在使用螺栓和 neo4j-javascript-driver。它可以维持多少并发连接?

在我使用 REST API 执行多个并发 POST 请求时,出现以下错误:

Neo4jError: There are no available threads to serve this request at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).

以下是我的驱动程序配置:

    driverConfig: {
      maxConnectionLifetime: 3 * 60 * 60 * 1000, // 3 hours
      maxConnectionPoolSize: 100,      
    },
4

0 回答 0