Add opt-in NPM and CrowdSec traffic map with selectable agent source

This commit is contained in:
Maxim
2026-10-09 19:39:13 +03:00
parent 72869dcf5f
commit f7b347212e
18 changed files with 1289 additions and 10 deletions

View File

@@ -106,6 +106,7 @@ func openStore(path string) (*Store, error) {
}
db.SetMaxOpenConns(1)
statements := []string{
trafficSchema,
`PRAGMA journal_mode=WAL`,
`PRAGMA busy_timeout=5000`,
`CREATE TABLE IF NOT EXISTS settings (key TEXT PRIMARY KEY, value TEXT NOT NULL)`,