- Fix Ctrl-C shutdown by using fx.Shutdowner instead of just canceling context - Pass context from fx lifecycle to rw.Run() for proper cancellation - Adjust WAL settings: checkpoint at 50MB, max size 100MB - Reduce busy timeout from 30s to 2s to fail fast on lock contention This should fix the issue where Ctrl-C doesn't cause shutdown and improve database responsiveness under heavy load. |
||
---|---|---|
cmd | ||
docs | ||
internal | ||
pkg/asinfo | ||
.gitignore | ||
.golangci.yml | ||
CLAUDE.md | ||
go.mod | ||
go.sum | ||
Makefile |