1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Cant run on an out-of-the-box OSX installation without running out of TOO MANY FILES OPEN

This commit is contained in:
David Heinemeier Hansson 2016-02-05 11:56:16 +01:00
parent fbab5c7e6a
commit 7fe32d28a8

View file

@ -187,7 +187,7 @@ class ClientTest < ActionCable::TestCase
def test_many_clients def test_many_clients
with_puma_server do |port| with_puma_server do |port|
clients = 200.times.map { faye_client(port) } clients = 100.times.map { faye_client(port) }
clients.map {|c| Concurrent::Future.execute { clients.map {|c| Concurrent::Future.execute {
c.send_message command: 'subscribe', identifier: JSON.dump(channel: 'EchoChannel') c.send_message command: 'subscribe', identifier: JSON.dump(channel: 'EchoChannel')