graphiti 1.6.0 → 1.6.1

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: 5804a85dd275e9e5f160f08c4b4f49f151e4fddc1178a90a66f2a28ef88bd647
4
- data.tar.gz: 1962ef04b5278bb720e971dca2112e20a9bbb493bbc9428f1b3ca57737e3250f
3
+ metadata.gz: db292ffdb5b46b46d42e012cd68acc342649e28fc6f9cf7c5769db4e0b4bda21
4
+ data.tar.gz: 2ae2161355c2dccf3fc833831f39eff69639967885e81f25594b75de4fcaca22
5
5
  SHA512:
6
- metadata.gz: 95c66786278dea821516ebb0b1f47a249e419a681ac0f461006adfe427fe0d81e9591017187611a7f49dcf14479df47d3501e29c97d4b8fbb9f3c2fc988bc615
7
- data.tar.gz: 8ccab36d491f3930335d2b42fbddcf18b94403ef7825a80edf33020ba618ff688106719ea49c2f0df798263f12b51b5e0959154ebf85a18737d15c507b024c19
6
+ metadata.gz: 57306d14268453ee0629e952ff85f23becb6bb2f76b9f238bd7f9030214181020baa3ea227f23d23225cb8e67398a693d1662c2f4d2e64a67629b46a8b47cf16
7
+ data.tar.gz: a60d925e5fedb2fe79813d128cc5a6f2fb957bce509372c4b22456b04eab2f795bdbd1d1937cdf1176883338845567648e84cc8d7dd03844b0cafefb2f2d140f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  graphiti changelog
2
2
 
3
+ ## [1.6.1](https://github.com/graphiti-api/graphiti/compare/v1.6.0...v1.6.1) (2024-03-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * correct thread-pool mutex logic which was causing a deadlock ([0400ab0](https://github.com/graphiti-api/graphiti/commit/0400ab0d97a1382b66b5295fdc7aa7db680e77cc))
9
+
3
10
  # [1.6.0](https://github.com/graphiti-api/graphiti/compare/v1.5.3...v1.6.0) (2024-03-20)
4
11
 
5
12
 
@@ -9,8 +9,8 @@ module Graphiti
9
9
  return @thread_pool_executor if @thread_pool_executor
10
10
 
11
11
  concurrency = Graphiti.config.concurrency_max_threads || 4
12
- @thread_pool_executor_mutex.synchronize do
13
- @thread_pool_executor ||= Concurrent::ThreadPoolExecutor.new(
12
+ @thread_pool_executor ||= @thread_pool_executor_mutex.synchronize do
13
+ Concurrent::ThreadPoolExecutor.new(
14
14
  min_threads: 0,
15
15
  max_threads: concurrency,
16
16
  max_queue: concurrency * 4,
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-20 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable