cable_room 0.6.2.beta8 → 0.6.2.beta9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cable_room/room_member.rb +3 -5
- data/lib/cable_room/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a0b89cf59e8dc6fa9ebfed2efe728c0c2916bbac6d54738612944adec072762
|
|
4
|
+
data.tar.gz: 55db8ebfde7f3574755f8348e90a4986c8943600c9231b1ce0af723f94863f33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60f838c24cc7b4bc43541c0cc9386f6a295824b0a44526a1fa0d018240966dc6c81665faed13edc76a7ae7fa4d0ab958dbe0c2486b85fc81f502e3fc819dafe2
|
|
7
|
+
data.tar.gz: 61c0ea11ca13892247ac210fe32cc2c1d5ee157f1da7125f4a9fdde22bee7e9d70a6468e539a7e4503814feefbcbdd80b2e2075291b4b48fd9cd8183e89d6415
|
|
@@ -51,13 +51,11 @@ module CableRoom
|
|
|
51
51
|
|
|
52
52
|
def transmit_subscription_confirmation(...)
|
|
53
53
|
super
|
|
54
|
-
# Rails invokes this from the pubsub adapter's subscribe success callback, which runs while
|
|
55
|
-
# SubscriberMap holds its (non-reentrant) @sync mutex. Broadcasting from that stack raises
|
|
56
|
-
# ThreadError: deadlock; recursive locking, and the adapter swallows it. Defer onto the event
|
|
57
|
-
# loop so the announce still happens after every stream is confirmed live, but off the lock.
|
|
58
54
|
memberships = _room_memberships.to_a
|
|
59
55
|
memberships.each(&:streams_live!)
|
|
60
|
-
connection.
|
|
56
|
+
connection.worker_pool.async_exec(self, connection: connection) do
|
|
57
|
+
memberships.each(&:transmit_port_connected)
|
|
58
|
+
end
|
|
61
59
|
end
|
|
62
60
|
end
|
|
63
61
|
|
data/lib/cable_room/version.rb
CHANGED