diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-21 04:04:05 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-21 04:04:05 +0000 |
| commit | 2e799fa7ec57d284c643df8b8dc54471470f5c59 (patch) | |
| tree | 0d8affa3e742d34e8d5a251b4ae50678c10a10d5 /src/http | |
| parent | 25b206c00766579f2322619f4716ca999f9b92ec (diff) | |
feat: add database backend configuration options
Add environment variable configuration for database backend selection:
- Added DatabaseBackend enum (memory, nostrdb, lmdb) in src/config.rs
- Updated relay builder to use configured backend in src/nostr/builder.rs
- Added NGIT_DATABASE_BACKEND to .env.example with documentation
- Updated docs/reference/configuration.md with backend comparison table
NostrDB and LMDB backends prepared for future implementation when
nostr-relay-builder adds support. Currently defaults to in-memory
database with warning logs when persistent backends are selected.
Diffstat (limited to 'src/http')
0 files changed, 0 insertions, 0 deletions