You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woikos
4522081506
Fix memory exhaustion from concurrent Badger queries (v0.52.17)
...
- Add query semaphore limiting concurrent database queries to 3
- Reuse single iterator in FetchEventsBySerials instead of one per serial
- Disable expensive e-tag fallback lookup in deletion processing
- Add empty ID validation in access tracker loop
- Reduce log spam from GetSerialById empty ID errors
These changes reduce memory usage from ~5GB to ~150MB under load by
limiting concurrent Badger iterators which consume significant memory.
Files modified:
- pkg/database/database.go: Add query semaphore with acquire/release
- pkg/database/fetch-events-by-serials.go: Reuse iterator for sev lookups
- pkg/database/query-events.go: Add semaphore, disable e-tag fallback
- pkg/database/get-serial-by-id.go: Don't log empty ID errors
- app/handle-req.go: Validate event ID before GetSerialById
- pkg/version/version: Bump to v0.52.17
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 months ago
.aiassistant/ rules
Refactor export functionality in App.svelte to support both GET and POST methods for event exports, enhancing flexibility in user permissions. Update server-side handling to accommodate pubkey filtering and improve response handling for file downloads. Adjust UI components to reflect these changes, ensuring a seamless user experience.
7 months ago
.claude
Improve release command VPS deployment docs (v0.48.14)
4 months ago
.gitea
Use Gitea API directly for release creation (v0.36.14)
5 months ago
.github/ workflows
Add issue templates, CI workflows, and decentralization plan
5 months ago
.plan
initial draft of hot reload policy
6 months ago
app
Fix memory exhaustion from concurrent Badger queries (v0.52.17)
4 months ago
cmd
feat(ui): add standalone dashboard mode and relay switching (v0.52.2)
4 months ago
contrib/ stella
Add serve mode, fix binary tags, document CLI tools, improve Docker
6 months ago
docs
Remove Cashu Access Token (CAT) system entirely (v0.52.3)
4 months ago
pkg
Fix memory exhaustion from concurrent Badger queries (v0.52.17)
4 months ago
relay-tester
Refactor for interface clarity and dependency isolation.
6 months ago
scripts
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
4 months ago
.dockerignore
Add serve mode, fix binary tags, document CLI tools, improve Docker
6 months ago
.gitignore
Decompose handle-event.go into DDD domain services (v0.36.15)
5 months ago
BUG_REPORTS_AND_FEATURE_REQUEST_PROTOCOL.md
Add ORLY_POLICY_PATH for custom policy file location
5 months ago
CLAUDE.md
Add BBolt rate limiting and tune Badger defaults for large archives (v0.48.12)
4 months ago
CONTRIBUTING.md
Add issue templates, CI workflows, and decentralization plan
5 months ago
DDD_ANALYSIS.md
Decompose handle-event.go into DDD domain services (v0.36.15)
5 months ago
Dockerfile
Add serve mode, fix binary tags, document CLI tools, improve Docker
6 months ago
Dockerfile.relay-tester
Add serve mode, fix binary tags, document CLI tools, improve Docker
6 months ago
INDEX.md
Add comprehensive documentation for CLAUDE and Nostr WebSocket skills
6 months ago
LICENSE
Add initial project structure with README, LICENSE, and .gitignore config
9 months ago
POLICY_BUG_FIX_SUMMARY.md
feat(ui): add standalone dashboard mode and relay switching (v0.52.2)
4 months ago
README.md
Add documentation and improve BBolt import memory efficiency (v0.48.8)
4 months ago
conversation.md
fix policy to ignore all req/events without auth
6 months ago
docker-compose.yml
Interim release: documentation updates and rate limiting improvements
5 months ago
enable-policy.sh
fix silent fail of loading policy with panic, and bogus fallback logic
6 months ago
go.mod
Add Blossom bandwidth limiting and tune rate limiters (v0.49.0)
4 months ago
go.sum
Add Blossom bandwidth limiting and tune rate limiters (v0.49.0)
4 months ago
libsecp256k1.so
fully test and verify policy script functionality
6 months ago
main.go
Remove Cashu Access Token (CAT) system entirely (v0.52.3)
4 months ago
policyfixes.md
fix policy to ignore all req/events without auth
6 months ago
wasm_exec.js
Add NRC (Nostr Relay Connect) protocol and web UI (v0.48.9)
4 months ago