-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap application code in Rails executor to prevent autoloading proble…
…ms (#50) Broadcasting happens from a thread and involves a `SolidCable::Message` model that is auto-reloaded by Rails in development. This can result in race conditions where the ActionCable thread tries to access the model class but it can't resolve it. https://guides.rubyonrails.org/threading_and_code_execution.html
- Loading branch information
1 parent
c696aaa
commit 1459262
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters