Commit Graph
12 Commits
Author SHA1 Message Date
Andras Bacsai 99c840922c fix(notifications): throttle repeated notifications per resource
High disk usage notifications were sent every ~10 minutes on Coolify Cloud
because the cache rate limiter did not hold across Sentinel-triggered checks.

- Add a notification_throttles table and NotificationThrottle helper that
  atomically records when a notification was sent for a resource.
- Add the ThrottledNotification contract; Team::notify() skips a throttled
  notification that was already sent within its interval.
- High disk usage: configurable per-server interval
  (server_disk_usage_notification_interval_hours, default 24h) in
  Server > Advanced and the servers API.
- Container restarted (coolify-proxy, database TCP proxy): at most one
  notification per hour per server/database during a restart loop.
- Move the unreachable and missing-backup markers into the new table and
  migrate existing data (servers.unreachable_notification_sent and
  scheduled_database_backups.missing_backup_notification_sent_at).
- Regenerate OpenAPI files.
2026-09-29 11:29:39 +02:00
Andras Bacsai a34d1656f4 chore: prepare for PR 2026-02-15 13:42:58 +01:00
Andras Bacsai 0f5c988658 fix(horizon): add silenced jobs 2025-07-12 14:44:32 +02:00
Andras Bacsai 0e8f5d61bc fix 2024-11-15 08:56:19 +01:00
Andras Bacsai ca7c214775 fix: new way to update container statuses 2024-11-03 09:02:14 +01:00
Lucas Michot 8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Andras Bacsai 96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai 29ad965656 Refactor code to use loggy() function for server storage check logging 2024-10-25 17:46:39 +02:00
Andras Bacsai 55f4e77d66 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:10:07 +02:00
Andras Bacsai d55b444bb8 Refactor ServerStorageCheckJob handle method to improve error handling and messaging 2024-10-24 15:08:22 +02:00
Andras Bacsai ac768e5313 feat: limit storage check emails
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai 5cd81fe255 wip: server storage check 2024-10-01 11:52:36 +02:00