From 185c93eb0c8df629033be48e5eef431190c65226 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Thu, 25 Feb 2016 14:31:19 +1030 Subject: Use AS::Executor / AS::Reloader to support reloading in ActionCable --- actioncable/test/stubs/test_server.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actioncable/test/stubs') diff --git a/actioncable/test/stubs/test_server.rb b/actioncable/test/stubs/test_server.rb index 56d132b30a..5916cf1e83 100644 --- a/actioncable/test/stubs/test_server.rb +++ b/actioncable/test/stubs/test_server.rb @@ -17,4 +17,8 @@ class TestServer def stream_event_loop @stream_event_loop ||= ActionCable::Connection::StreamEventLoop.new end + + def worker_pool + @worker_pool ||= ActionCable::Server::Worker.new(max_size: 5) + end end -- cgit v1.2.3