-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix anycable logging and cable.disconnect
- Loading branch information
Showing
5 changed files
with
26 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
web: bin/rails s -b 0.0.0.0 -p 2901 | ||
# Go logging is log_level (https://docs.anycable.io/anycable-go/configuration?id=logging-settings) | ||
ws: anycable-go --host 0.0.0.0 --port 3901 --path /openc3-api/cable --log_level error | ||
# Ruby logging is log-level (https://docs.anycable.io/ruby/logging?id=logging) | ||
# but Rails overrides this so we set it in config/application.rb | ||
rpc: bundle exec anycable --broadcast_adapter http |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
web: bin/rails s -b 0.0.0.0 -p 2902 | ||
ws: anycable-go --host 0.0.0.0 --port 3902 --path /script-api/cable --log_level error | ||
# Go logging is log_level (https://docs.anycable.io/anycable-go/configuration?id=logging-settings) | ||
ws: anycable-go --host 0.0.0.0 --port 3902 --path /script-api/cable | ||
# Ruby logging is log-level (https://docs.anycable.io/ruby/logging?id=logging) | ||
# but Rails overrides this so we set it in config/application.rb | ||
rpc: bundle exec anycable --broadcast_adapter http |
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