garbageman 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTUxY2YyM2I2ODhiMjVhYTA0Y2JlZjUzNGIzMDc4NjJjNDc4MzdiOQ==
4
+ YmJhNDJkNjA0ZWUyMTIwNmJmYWZiMDI4N2RiZWM4ZmZhNjhmZDA3NQ==
5
5
  data.tar.gz: !binary |-
6
- YjI0NmU3NmFjZjcyMDdiNTJkNWQxOWJmYjQxNjk0OWRhZjhmZDk0MQ==
6
+ ZTg4ODBjYjJhZTcwZTM2N2JkNTI0MTUxNjQwMmM1NmNiNTdmMzIwNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWJlYjQ5Yjc2OWEzMjM4YTNmZTk0ODAzNmZiZTg4YzVkN2M5OGYyZDczOGM5
10
- OWU0YjNiMTRjMTY2NzI2N2E0ZDFjNjQ1NmEwNzk3MjNmZjEzY2I3YWZjNTk0
11
- ODY3Y2FiNjUwNmMyYzA5OGIwMjIxM2QxZTgzN2JjZTAwN2RjNzE=
9
+ ZGI2MjYxNTc4ZTkxYmRjYzZlZWRiOGU5MjI2YmVkNzNhMmUwMGRkZDM3N2Ex
10
+ NzAzYTFmN2MzODI1MzcyMzhhYzZiYWZjMzYzZWE2MGY2YTE0ZGZiMGQ4NDNi
11
+ MTJmZjVjMjJmZmI4Yjc0YjNmYmMxMzcyNjY0ODRmM2NmMmViYjc=
12
12
  data.tar.gz: !binary |-
13
- NjYzOWYzMjNiZjVlZDFlOGMwMDRlYWUwYjU4ODRhZTc5YTBhMThjZjgzYTU2
14
- ZjUzYzkxOTUwZmRkNDA2MTRiMjdiNWJhZDNmZWFjZjY3NDk1NWU4NjNlMzk4
15
- ZDE3NWUyN2UyMWI4NDYzZDM5N2E5MDcwODA4NDk4MTRkZmFiZWE=
13
+ MTg1OGNjOWFkNTJkM2UwOWM1ZmFlNGZjOTlhNDVlZDJjMjYxNjVkOWMwYjdj
14
+ NTA4NGRiYTE4ODM0YzQ1YjA4MGRhNDAwODFmYmRkMWQxZjBmNjllMzU4Yjg3
15
+ MDZjOTcxYTFhMDVjY2M3NzM4OWIwZDE2M2Y0NGMxNjg1YTQ2Mjk=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.6
1
+ 0.3.7
data/garbageman.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "garbageman"
9
- s.version = "0.3.6"
9
+ s.version = "0.3.7"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -105,6 +105,7 @@ module GarbageMan
105
105
  diff = (@last_gc_finished_at - starts) * 1000
106
106
  info "GC took #{'%.2f' % diff}ms for #{@request_count} requests" if @show_gc_times
107
107
  info "GC freed #{memory_used - process_resident_memory_size_in_kb}kb of memory" if @show_memory_released
108
+ warn "was running GC and received #{Thin::Backends::Base.num_connections} connections " if Thin::Backends::Base.num_connections > 0
108
109
  write_gc_yaml server_index, NEXT_SERVER
109
110
 
110
111
  after_gc_callbacks.each(&:call)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garbageman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch