mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 08:15:24 +00:00
feat: limit storage check emails
feat: sentinel should send storage usage
This commit is contained in:
1 parent
0a26598093
commit
ac768e5313
14 files changed
+111
-49
No files matched your search
@@ -101,6 +101,10 @@ class PushServerUpdateJob implements ShouldQueue
|
||||
$this->server->sentinelHeartbeat();
|
||||
|
||||
$this->containers = collect(data_get($data, 'containers'));
|
||||
|
||||
$filesystemUsageRoot = data_get($data, 'filesystem_usage_root.used_percentage');
|
||||
ServerStorageCheckJob::dispatch($this->server, $filesystemUsageRoot);
|
||||
|
||||
if ($this->containers->isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user