tangled
alpha
login
or
join now
mackuba.eu
/
skyfall
6
fork
atom
A Ruby gem for streaming data from the Bluesky/ATProto firehose
6
fork
atom
overview
issues
pulls
pipelines
moved existing_reactor? to private methods
mackuba.eu
2 months ago
d47e500f
8b8d82d4
+4
-4
1 changed file
expand all
collapse all
unified
split
lib
skyfall
stream.rb
+4
-4
lib/skyfall/stream.rb
···
86
86
end
87
87
end
88
88
89
89
-
def existing_reactor?
90
90
-
EM.reactor_running? && !@engines_on
91
91
-
end
92
92
-
93
89
def handle_message(msg)
94
90
data = msg.data
95
91
@handlers[:raw_message]&.call(data)
···
186
182
187
183
188
184
private
185
185
+
186
186
+
def existing_reactor?
187
187
+
EM.reactor_running? && !@engines_on
188
188
+
end
189
189
190
190
def reconnect_delay
191
191
if @connection_attempts == 0