celluloid-websocket 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/celluloid/websocket/rack.rb +4 -0
- data/lib/celluloid/websocket/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2824474fb842c2a69ca0409cf69875f1e05dc2b
|
4
|
+
data.tar.gz: f18ed0bf37317d353dba4df1e2552910dbd89322
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79460a17d946e053d83562a8e12d962c65c414602902ac492b383bdc9f0d734e161bc71904cda66cc0ea9fc4594a1097eefb70f1b91710367745c653a7dfca7
|
7
|
+
data.tar.gz: 012edc9ad8b4c8ff1bf4365c6ae3254dba015daef66a20894192dbb4175b359ade77a832548847c8ac04bf80c562c33af63c5d5aa5b1ad9e1339267cc28271b1
|
@@ -8,6 +8,10 @@ require 'forwardable'
|
|
8
8
|
module Celluloid
|
9
9
|
class WebSocket
|
10
10
|
def self.rack(config={})
|
11
|
+
if defined?(PhusionPassenger)
|
12
|
+
PhusionPassenger.advertised_concurrency_level = 0
|
13
|
+
end
|
14
|
+
|
11
15
|
lambda do |env|
|
12
16
|
# We need to create the pool in the first request
|
13
17
|
# because we might've been forked before.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celluloid-websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tinco Andringa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -151,4 +151,3 @@ signing_key:
|
|
151
151
|
specification_version: 4
|
152
152
|
summary: This is basically a small wrapper around Tony Arcieri's Reel::Websocket class.
|
153
153
|
test_files: []
|
154
|
-
has_rdoc:
|