Skip to content

Commit 6199988

Browse files
author
Peter Wilhelmsson
committed
Only override neo4j config when it is really needed
Way too large pagecache is configured, boltkit sets up a cachesize of 30MB. That should be enough.
1 parent 6a48868 commit 6199988

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/internal/shared-neo4j.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ const tlsConfig = {
134134
}
135135

136136
const defaultConfig = {
137-
// Turn off backup related ports, etc.
138-
'dbms.backup.enabled': 'false',
139-
140137
// tell neo4j to listen for IPv6 connections, only supported by 3.1+
141138
'dbms.connectors.default_listen_address': '::',
142139

@@ -146,9 +143,6 @@ const defaultConfig = {
146143
// shorten the default time to wait for the bookmark from 30 to 5 seconds
147144
'dbms.transaction.bookmark_ready_timeout': '5s',
148145

149-
// page cache size
150-
'dbms.memory.pagecache.size': '512m',
151-
152146
// make TLS optional
153147
'dbms.connector.bolt.tls_level': tlsConfig.levels.optional
154148
}

0 commit comments

Comments
 (0)