feat: externalize filter configuration and add global structured logging and job reprocessing functionality
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user