Skip to content

Commit 1182705

Browse files
committed
fix: Add name to SSE client thread
1 parent de041bd commit 1182705

File tree

3 files changed

+1
-45
lines changed

3 files changed

+1
-45
lines changed

lib/ld-eventsource/client.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ def initialize(uri,
141141

142142
yield self if block_given?
143143

144-
Thread.new do
145-
run_stream
146-
end
144+
Thread.new { run_stream }.name = 'LD/SSEClient'
147145
end
148146

149147
#

scripts/gendocs.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

scripts/release.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)