tarantool-client 0.3.1 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 046c9d293325df27a2971c6c6257cd6691e3e6c2cb565ea41eb9cb1aa5a2ccf3
4
- data.tar.gz: 2dc134d5da8d6f5a99fd8b73f28340ae022ae9243c62d750287e35e5d088d159
3
+ metadata.gz: 4a61e72db9568143689511a8cc6458aeda0aa075262560f23961074441f24944
4
+ data.tar.gz: 74aa03ce58a1aa462ae334c1b8ee2b9691d06a417f019a2c7b65ca624f75f2e5
5
5
  SHA512:
6
- metadata.gz: 8cb3cae463060a270127eea6427eacef15edd25ec159d6d377f97af2692d9fc7fade4fef6b871943cfe78387d740621c5061b583bfe2ae755ca06f8e8a7f282c
7
- data.tar.gz: c456c5a8fa8a0c8de99804f29fd0c36831a35f692391c3cda7c582f1901fc7ee46cbf7fc709fed866bcba121b6fa4b5de6bbc4da6a5ea8ebe3e380f99a133a18
6
+ metadata.gz: bf4270f40a6f60c40383469e7cf2bdaa0ca67de78cbb7e4fdee576510758f380b88b1036ad17315dc5121d6e954c3f507e0487541b03004fdcab1c50c063f57f
7
+ data.tar.gz: 0dff8e2d30e162944a46e4ab3e01fca743340361a2b0031f23d278216349b12447f5bd7156c940b516f8a1824b9ab7f05dceb9f1ecaf70fcdac3d6c48c9439ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 (2026-10-18)
4
+
5
+ - A client left open at process exit no longer reports `reconnect_failed.tarantool` ("can't alloc thread") when
6
+ Ruby kills its reader thread: an error line per Puma worker restart with the Rails log subscriber.
7
+
3
8
  ## 0.3.1 (2026-10-18)
4
9
 
5
10
  - Allows `bigdecimal` 4.x, the version Ruby 4 ships with.
@@ -97,7 +97,9 @@ module Tarantool
97
97
  lost(connection) if connection.closed?
98
98
  end
99
99
 
100
+ # At process exit Ruby kills the reader thread before the link is closed: nothing to reconnect with.
100
101
  def lost(connection)
102
+ return unless Thread.main.alive?
101
103
  return report_lost(connection) unless @config.reconnect
102
104
 
103
105
  @state.start_reconnect(connection) do |previous|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tarantool
4
4
  class Client
5
- VERSION = '0.3.1'
5
+ VERSION = '0.3.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarantool-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Starlexxx