mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-16 19:50:10 +00:00
Critical deadlock fix: - Stop() was holding n.mu lock while calling queue.Stop() - queue.Stop() waits for worker goroutines to finish - Worker goroutines call ProcessQueuedNotification() which needs n.mu lock - This created a classic lock-order deadlock Fix: - Unlock n.mu before calling queue.Stop() - Relock after queue shutdown completes - Workers can now finish and acquire lock as needed This resolves 30-second test timeouts in notifications package. Tests now complete in <1s instead of timing out at 30s. |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_providers.go | ||
| email_template.go | ||
| notifications.go | ||
| notifications_test.go | ||
| queue.go | ||
| webhook_allowlist_test.go | ||
| webhook_enhanced.go | ||
| webhook_templates.go | ||