Skip to content

Commit 191fd68

Browse files
authored
fix: Provide thread name for inspection (#46)
1 parent de041bd commit 191fd68

File tree

4 files changed

+2
-46
lines changed

4 files changed

+2
-46
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
ruby-version:
1920
- '2.5'
@@ -22,7 +23,6 @@ jobs:
2223
- '3.0'
2324
- '3.1'
2425
- '3.2'
25-
- jruby-9.2
2626
- jruby-9.3
2727
- jruby-9.4
2828

lib/ld-eventsource/client.rb

+1-3
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

-12
This file was deleted.

scripts/release.sh

-30
This file was deleted.

0 commit comments

Comments
 (0)