mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-15 01:07:32 +00:00
- Move all SQLite pragmas from db.Exec() to DSN parameters so every connection the pool creates gets busy_timeout and other settings. Previously only the first connection had these applied. - Set MaxOpenConns(1) on audit, RBAC, and notification databases (metrics already had this). Fixes potential for multiple connections where new ones lack busy_timeout. - Increase busy_timeout from 5s to 30s across all databases to tolerate disk I/O pressure during backup windows. - Fix nested query deadlocks in GetRoles(), GetUserAssignments(), and CancelByAlertIDs() that would deadlock with MaxOpenConns(1). - Fix circuit breaker retryInterval not resetting on recovery, which caused the next trip to start at 5-minute backoff instead of 5s. Related to #1156 |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_enhanced_test.go | ||
| email_providers.go | ||
| email_template.go | ||
| email_template_test.go | ||
| notification_utils_test.go | ||
| notifications.go | ||
| notifications_additional_test.go | ||
| notifications_test.go | ||
| queue.go | ||
| queue_test.go | ||
| security_utils_test.go | ||
| templates_test.go | ||
| webhook_allowlist_test.go | ||
| webhook_client_test.go | ||
| webhook_enhanced.go | ||
| webhook_enhanced_test.go | ||
| webhook_retry_test.go | ||
| webhook_templates.go | ||