routewatch/internal
sneak 8f524485f7 Add periodic WAL checkpointing to fix slow queries
The WAL file was growing to 700MB+ which caused COUNT(*) queries to
timeout. Reads must scan the WAL to find current page versions, and
a large WAL makes this slow.

Add Checkpoint method to database interface and run PASSIVE checkpoints
every 30 seconds via the DBMaintainer. This keeps the WAL small and
maintains fast read performance under heavy write load.
2026-01-01 05:42:03 -08:00
..
config Remove debug logging for withdrawals without origin ASN 2025-07-28 02:07:33 +02:00
database Add periodic WAL checkpointing to fix slow queries 2026-01-01 05:42:03 -08:00
logger Add godoc documentation and README with code structure 2025-12-27 12:30:46 +07:00
metrics Fix prefix URL routing to handle CIDR notation with slashes 2025-12-30 14:41:57 +07:00
ristypes Add godoc documentation and README with code structure 2025-12-27 12:30:46 +07:00
routewatch Add periodic WAL checkpointing to fix slow queries 2026-01-01 05:42:03 -08:00
server Add oldest and newest route timestamps to status page 2025-12-31 15:47:57 -08:00
streamer Add status page enhancements with new metrics and footer 2025-12-30 14:50:54 +07:00
templates Add oldest and newest route timestamps to status page 2025-12-31 15:47:57 -08:00
version Add status page enhancements with new metrics and footer 2025-12-30 14:50:54 +07:00
whois Add IP information API with background WHOIS fetcher 2025-12-27 15:47:35 +07:00