Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add graph queries timeout #215

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/target
.env
docker/.database
docker/.env
docker/.database/neo4j/*
!docker/.database/neo4j/plugins
!docker/.database/neo4j/conf
docker/.database/redis
**/.DS_Store
/static
1 change: 1 addition & 0 deletions docker/.database/neo4j/conf/neo4j.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
db.transaction.timeout=1s
Binary file added docker/.database/neo4j/plugins/apoc.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
- .database/neo4j/data:/data
- .database/neo4j/logs:/logs
- ./db-graph:/db-graph
# Mount plugins directory for APOC
- .database/neo4j/plugins:/plugins
environment:
NEO4J_initial_dbms_default__database: ${NEO4J_DB_NAME}
# IMPORTANT: If you change the auth params and you have already created the config files, will not take effect
Expand All @@ -25,6 +27,10 @@ services:
NEO4J_server_memory_heap_initial__size: 2G
NEO4J_server_memory_heap_max__size: 2G
# NEO4J_apoc_uuid_enabled: false
# Enable APOC
# NEO4JLABS_PLUGINS: '["apoc"]'
# NEO4J_dbms_security_procedures_unrestricted: 'apoc.*'
# NEO4J_dbms_security_procedures_allowlist: 'apoc.*'


redis:
Expand Down
Loading