Database Notifications on Vapor

I have enabled database notifications and set polling to 30 seconds. Works great locally, but when the app is pushed to Vapor, im getting the following error:
Class "Pusher\Pusher" not found
Filament\Notifications\Events\DatabaseNotificationsSent
Class "Pusher\Pusher" not found
Filament\Notifications\Events\DatabaseNotificationsSent
. Vapor uses sqs for the job queue, but we dont have any environment setting to set broadcast and the default for laravel is null.
No description
2 Replies
Mark Chaney
Mark ChaneyOP7mo ago
looks like i had to statically set
'default' => 'null',
'default' => 'null',
in broadcasting.php to force it not to use broadcasting. really weird.
ahinkle
ahinkle4mo ago
I recently ran into this too. I might look into submitting a PR Edit: turns out Vapor uses Pusher by default. weird
Want results from more Discord servers?
Add your server