routewatch/internal/database
sneak a163449a28 Improve request logging and make health check lightweight
- Log slow requests (>1s) at WARNING level with slow=true flag
- Log request timeouts at WARNING level in TimeoutMiddleware
- Replace heavy GetStatsContext with lightweight Ping in health check
- Add Ping method to database interface (SELECT 1)
2026-01-01 06:06:20 -08:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Improve request logging and make health check lightweight 2026-01-01 06:06:20 -08:00
interface.go Improve request logging and make health check lightweight 2026-01-01 06:06:20 -08:00
models.go Unify IP lookup response structure and add PTR lookups 2025-12-27 15:56:10 +07:00
schema.sql Add WHOIS stats to status page with adaptive fetcher improvements 2025-12-27 16:20:09 +07:00
slowquery.go Reduce slow query threshold from 50ms to 25ms 2025-07-29 04:20:43 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00