feat: externalize filter configuration and add global structured logging and job reprocessing functionality

This commit is contained in:
2026-08-14 15:27:50 -07:00
parent 890469fed8
commit 5510e3ac82
17 changed files with 257 additions and 80 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func InitDB(dbPath string) (*DB, error) {
dbPath = "data/db/hireme.db"
}
conn, err := sql.Open("sqlite3", dbPath+"?_foreign_keys=on")
conn, err := sql.Open("sqlite3", dbPath+"?_foreign_keys=on&_busy_timeout=5000&_journal_mode=WAL&_txlock=immediate")
if err != nil {
return nil, fmt.Errorf("failed to open sqlite database: %w", err)
}