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:
parent
fbab5c7e6a
commit
7fe32d28a8
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue