Skip to content

Commit

Permalink
Swap executor for reloader to fix dev server hanging on code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Dec 6, 2024
1 parent aa2d68b commit 8bdfdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_cable/subscription_adapter/solid_cable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def channels
end

def broadcast_messages
Rails.application.reloader.wrap do
Rails.application.executor.wrap do
::SolidCable::Message.broadcastable(channels, last_id).
each do |message|
broadcast(message.channel, message.payload)
Expand Down

0 comments on commit 8bdfdf1

Please sign in to comment.