mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 10:13:30 +00:00
fix: make sure important jobs/actions are running on high prio queue
This commit is contained in:
1 parent
ef629d5816
commit
7dc65dfd79
58 files changed
+167
-75
No files matched your search
@@ -15,7 +15,10 @@ class HighDiskUsage extends Notification implements ShouldQueue
|
||||
|
||||
public $tries = 1;
|
||||
|
||||
public function __construct(public Server $server, public int $disk_usage, public int $server_disk_usage_notification_threshold) {}
|
||||
public function __construct(public Server $server, public int $disk_usage, public int $server_disk_usage_notification_threshold)
|
||||
{
|
||||
$this->onQueue('high');
|
||||
}
|
||||
|
||||
public function via(object $notifiable): array
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user