mleku
f22bf3f388
Go / build-and-release (push) Has been cancelled
Add Neo4j memory tuning config and query result limits (v0.43.0)
- Add Neo4j driver config options for memory management:
- ORLY_NEO4J_MAX_CONN_POOL (default: 25) - connection pool size
- ORLY_NEO4J_FETCH_SIZE (default: 1000) - records per batch
- ORLY_NEO4J_MAX_TX_RETRY_SEC (default: 30) - transaction retry timeout
- ORLY_NEO4J_QUERY_RESULT_LIMIT (default: 10000) - max results per query
- Apply driver settings when creating Neo4j connection (pool size, fetch size, retry time)
- Enforce query result limit as safety cap on all Cypher queries
- Fix QueryForSerials and QueryForIds to preserve LIMIT clauses
- Add comprehensive memory tuning documentation with sizing guidelines
- Add NIP-46 signer-based authentication for bunker connections
- Update go.mod with new dependencies
Files modified:
- app/config/config.go: Add Neo4j driver tuning config vars
- main.go: Pass new config values to database factory
- pkg/database/factory.go: Add Neo4j tuning fields to DatabaseConfig
- pkg/database/factory_wasm.go: Mirror factory.go changes for WASM
- pkg/neo4j/neo4j.go: Apply driver config, add getter methods
- pkg/neo4j/query-events.go: Enforce query result limit, fix LIMIT preservation
- docs/NEO4J_BACKEND.md: Add Memory Tuning section, update Docker example
- CLAUDE.md: Add Neo4j memory tuning quick reference
- app/handle-req.go: NIP-46 signer authentication
- app/publisher.go: HasActiveNIP46Signer check
- pkg/protocol/publish/publisher.go: NIP46SignerChecker interface
- go.mod: Add dependencies
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 02:18:05 +02:00
..
2025-12-25 06:03:53 +01:00
2025-12-25 06:03:53 +01:00
2025-11-23 08:15:06 +00:00
2025-11-23 08:15:06 +00:00
2025-12-23 14:47:50 +01:00
2025-12-02 07:51:59 +00:00
2025-12-03 12:31:25 +00:00
2025-12-25 06:03:53 +01:00
2025-12-03 20:49:49 +00:00
2025-12-03 21:24:43 +00:00
2025-12-03 12:31:25 +00:00
2025-12-12 08:47:25 +01:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2025-11-23 08:15:06 +00:00
2025-12-04 09:28:13 +00:00
2025-12-25 05:30:07 +01:00
2025-12-11 21:36:39 +01:00
2025-12-29 02:18:05 +02:00
2025-12-29 02:18:05 +02:00
2025-12-25 05:30:07 +01:00
2025-12-03 20:49:49 +00:00
2025-12-03 20:49:49 +00:00
2025-11-26 21:16:46 +00:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2025-11-23 08:15:06 +00:00
2025-12-25 06:03:53 +01:00
2025-11-23 08:15:06 +00:00
2025-11-26 21:16:46 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-04 09:28:13 +00:00
2025-12-03 12:31:25 +00:00
2025-12-11 21:36:39 +01:00
2025-12-12 08:47:25 +01:00
2025-12-05 14:42:22 +00:00
2025-12-03 19:33:37 +00:00
2025-12-03 12:31:25 +00:00
2025-12-25 06:25:21 +01:00
2025-12-25 06:25:21 +01:00
2025-12-03 12:31:25 +00:00
2025-12-03 12:31:25 +00:00
2025-12-22 18:53:30 +01:00
2025-11-09 10:41:58 +00:00
2025-12-03 12:31:25 +00:00
2025-11-02 18:19:52 +00:00
2025-12-03 12:31:25 +00:00
2025-11-20 09:16:54 +00:00
2025-11-20 09:16:54 +00:00
2025-11-20 05:13:56 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-11-23 08:15:06 +00:00
2025-12-05 11:25:34 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-12-25 05:30:07 +01:00
2025-11-23 08:15:06 +00:00
2025-12-03 12:31:25 +00:00
2025-12-01 18:21:38 +00:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-01 18:21:38 +00:00
2025-12-25 06:03:53 +01:00
2025-12-25 06:25:21 +01:00
2025-08-31 16:52:24 +01:00
2025-12-03 12:31:25 +00:00
2025-12-25 05:30:07 +01:00
2025-12-22 18:53:30 +01:00
2025-12-03 12:31:40 +00:00
2025-12-22 18:53:30 +01:00
2025-12-22 18:53:30 +01:00
2025-12-27 16:32:48 +02:00