Browse Source

neo4j更新地址

kongwz 5 years ago
parent
commit
7fc6bf12b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      graph/src/main/java/org/diagbot/graph/jdbc/DriverManager.java

+ 1 - 1
graph/src/main/java/org/diagbot/graph/jdbc/DriverManager.java

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