Fixed template inheritance and SQLite connection pooling

- Each page template now parsed with base.html separately to avoid content block conflicts
- Connection fragments parsed standalone without base layout
- Increased SQLite max connections to 5 to prevent nested query deadlocks
- Verified connection tracing works through patch panels and wall sockets
master
Joca 2026-06-03 23:18:09 -03:00
parent 037c4e5ce3
commit 1a8799d711
Signed by: jocadbz
GPG Key ID: B1836DCE2F50BDF7
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func Init(path string) (*Store, error) {
return nil, fmt.Errorf("open db: %w", err) return nil, fmt.Errorf("open db: %w", err)
} }
db.SetMaxOpenConns(1) db.SetMaxOpenConns(5)
if _, err := db.Exec(schemaSQL); err != nil { if _, err := db.Exec(schemaSQL); err != nil {
db.Close() db.Close()