An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: send discord/telegram notifications on high job queue
Andras Bacsaiebaf3c99dd89
diff --git a/app/Notifications/Channels/DiscordChannel.php b/app/Notifications/Channels/DiscordChannel.phpindex 3a33d89026..86276fec96 100644--- a/app/Notifications/Channels/DiscordChannel.php+++ b/app/Notifications/Channels/DiscordChannel.php@@ -17,6 +17,6 @@ class DiscordChannelif (! $webhookUrl) {return;}- dispatch(new SendMessageToDiscordJob($message, $webhookUrl));+ dispatch(new SendMessageToDiscordJob($message, $webhookUrl))->onQueue('high');}}diff --git a/app/Notifications/Channels/TelegramChannel.php b/app/Notifications/Channels/TelegramChannel.phpindex 4b1fa49ddb..b3d4e384bb 100644--- a/app/Notifications/Channels/TelegramChannel.php+++ b/app/Notifications/Channels/TelegramChannel.php@@ -41,6 +41,6 @@ class TelegramChannelif (! $telegramToken || ! $chatId || ! $message) {return;}- dispatch(new SendMessageToTelegramJob($message, $buttons, $telegramToken, $chatId, $topicId));+ dispatch(new SendMessageToTelegramJob($message, $buttons, $telegramToken, $chatId, $topicId))->onQueue('high');}}