mmtop 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mmtop/host.rb +1 -2
  2. metadata +1 -1
@@ -15,7 +15,6 @@ module MMTop
15
15
  @display_name = @name
16
16
  @comment = options['comment']
17
17
  @last_queries = nil
18
- puts options
19
18
  @hide_if_empty = options['hide_if_empty']
20
19
 
21
20
  initialize_mysql2_cx(m2opts)
@@ -118,7 +117,7 @@ module MMTop
118
117
  end
119
118
 
120
119
  def processlist
121
- @processlist.select { |p| !p.status.nil? && !p.status.empty? }
120
+ @p ||= @processlist.select { |p| !p.status.nil? && !p.status.empty? }
122
121
  end
123
122
  attr_reader :host, :slave_status, :stats, :connections
124
123
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmtop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: