Skip to content

Commit

Permalink
temp: use Action Cable
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Nov 29, 2021
1 parent e915d54 commit fb19ebe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ require_relative "config/environment"

Rails.application.load_server

use Rack::Health, path: "/healthz"
# use Rack::Health, path: "/healthz"
run Rails.application
16 changes: 8 additions & 8 deletions kuby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,21 @@
add "RAILS_LOG_TO_STDOUT", "enabled"
add "DATABASE_URL", app_creds[:database_url]
add "REDIS_URL", app_creds[:redis_url]
add "ACTION_CABLE_ADAPTER", "any_cable"
add "ACTION_CABLE_ADAPTER", "redis"
add "PROMETHEUS_EXPORTER_PORT", METRICS_PORT.to_s
add "HTTP_LIVENESS_PORT", "3010"
end
end
end

add_plugin :anycable_rpc do
metrics_port METRICS_PORT
replicas 2
end
# add_plugin :anycable_rpc do
# metrics_port METRICS_PORT
# replicas 2
# end

add_plugin :anycable_go do
replicas 2
end
# add_plugin :anycable_go do
# replicas 2
# end

provider :digitalocean do
access_token app_creds[:do_token]
Expand Down

0 comments on commit fb19ebe

Please sign in to comment.