|
@@ -21,7 +21,7 @@ public class DriverManager {
|
|
public static Driver newDrive() throws Exception {
|
|
public static Driver newDrive() throws Exception {
|
|
// driver = GraphDatabase.driver("bolt://192.168.3.112:7687", AuthTokens.basic("neo4j", "123456"),
|
|
// driver = GraphDatabase.driver("bolt://192.168.3.112:7687", AuthTokens.basic("neo4j", "123456"),
|
|
if( driver == null){
|
|
if( driver == null){
|
|
- driver = GraphDatabase.driver(propertiesUtil.getProperty("bolt232.uri"), AuthTokens.basic(propertiesUtil.getProperty("bolt232.user"), propertiesUtil.getProperty("bolt232.passwd")),
|
|
|
|
|
|
+ driver = GraphDatabase.driver(propertiesUtil.getProperty("bolt233.uri"), AuthTokens.basic(propertiesUtil.getProperty("bolt233.user"), propertiesUtil.getProperty("bolt233.passwd")),
|
|
Config.build().withMaxConnectionLifetime(ConnLifeTime, TimeUnit.MINUTES)
|
|
Config.build().withMaxConnectionLifetime(ConnLifeTime, TimeUnit.MINUTES)
|
|
.withMaxTransactionRetryTime(TransRetryTime, TimeUnit.SECONDS)
|
|
.withMaxTransactionRetryTime(TransRetryTime, TimeUnit.SECONDS)
|
|
.withMaxConnectionPoolSize(ConnPoolSize)
|
|
.withMaxConnectionPoolSize(ConnPoolSize)
|