You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because if I have the default QUEUE_CONNECTION=database in my .env then each time a message is sent it gets queued in the database, but I rather have it set to 'sync'.
The text was updated successfully, but these errors were encountered:
Created a pull request: #295
We need a custom queue and connection settings in the
MessageWasSent
file:https://github.com/musonza/chat/blob/master/src/Eventing/MessageWasSent.php
(ref: https://laravel.com/docs/8.x/broadcasting#broadcast-queue)
This is because if I have the default
QUEUE_CONNECTION=database
in my.env
then each time a message is sent it gets queued in the database, but I rather have it set to'sync'
.The text was updated successfully, but these errors were encountered: