judoscale-ruby 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbdcda2226b6d69bc1ead0a3c586fb396596af307db1d7e1aaafd6e8d698ef7d
4
- data.tar.gz: 87810d3bfbc4c426b27f721798df06972333f69a99778253f70f8126c54351a7
3
+ metadata.gz: 472192e93af99d244c667e10eaa1c317eacbe62020cf7ee15f8cf541eb98b775
4
+ data.tar.gz: 13c188eb34d6d6a242a9b03a968b36c3d4a46ee66ed0fb6ba94c49d3ae1c87a0
5
5
  SHA512:
6
- metadata.gz: 44f4c643d12d4f9c6ba10248331ada1615006513e55bfc708866209bbf36055a3b2a0639f805b98fc042df040d98316519f48cc64c4001c4dbb85cb3c02c8b62
7
- data.tar.gz: 01b86d0084db54e22bbb0a034c30133b8509a65b4500d36997c861cbc3bf2a3f4ca22aa88bf5eab3471b8cd284088381c19b81bf66cfbb108c0b550fac047ec0
6
+ metadata.gz: 66c1f3f764e57e0e8a72243fc8e74d482801552915582ec1fff7656ba714cc7022e225c39e5fa70c1421846553322bd8e45272c936bcc4f0b47d63e8fdd07a84
7
+ data.tar.gz: 680987f89d24ae1bd5397ef0bc06dff763f25f0b89c51fc9eddd3aee1f165b888492cc958ef23bdc8bb4fab970dfbbaaa345711b71a8b4e7240a720b9a82dcbd
@@ -46,6 +46,9 @@ module Judoscale
46
46
 
47
47
  def run_loop(config, metrics_collectors)
48
48
  @_thread = Thread.new do
49
+ # Advise multi-threaded app servers to ignore this thread for the purposes of fork safety warnings.
50
+ Thread.current.thread_variable_set(:fork_safe, true)
51
+
49
52
  loop do
50
53
  run_metrics_collection(config, metrics_collectors)
51
54
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Judoscale
4
- VERSION = "1.8.0"
4
+ VERSION = "1.8.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judoscale-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-07-10 00:00:00.000000000 Z
13
+ date: 2024-09-10 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description:
16
16
  email:
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubygems_version: 3.5.11
61
+ rubygems_version: 3.5.16
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Autoscaling for Ruby.