mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ActionCable.server should always return the same instance
This commit is contained in:
parent
5ad75fb459
commit
6c0afaf967
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,6 @@ module ActionCable
|
||||||
|
|
||||||
# Singleton instance of the server
|
# Singleton instance of the server
|
||||||
module_function def server
|
module_function def server
|
||||||
ActionCable::Server::Base.new
|
@server ||= ActionCable::Server::Base.new
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue