Skip to content

Commit f0a1b83

Browse files
committed
improved ping healthcheck
1 parent 9783da2 commit f0a1b83

File tree

1 file changed

+1
-0
lines changed
  • fragnet-search/src/main/java/org/squonk/fragnet/service

1 file changed

+1
-0
lines changed

fragnet-search/src/main/java/org/squonk/fragnet/service/GraphDB.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public boolean connectionOK(int timeout_secs) {
5353
.build();
5454
Driver driver = GraphDatabase.driver(NEO4J_URL, AuthTokens.basic(NEO4J_USER, NEO4J_PASSWORD), config);
5555
if (driver != null) {
56+
driver.verifyConnectivity();
5657
driver.close();
5758
return true;
5859
}

0 commit comments

Comments
 (0)