em_mysql2_connection_pool 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,10 @@ class EmMysql2ConnectionPool
41
41
  start_queue conf
42
42
  end
43
43
 
44
+ def query_backlog
45
+ @query_queue.size
46
+ end
47
+
44
48
  def worker
45
49
  proc{ |connection|
46
50
  @query_queue.pop do |query|
@@ -1,3 +1,3 @@
1
1
  module EmMysql2ConnectionPool
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: em_mysql2_connection_pool
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Niko Dittmann
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-29 00:00:00 +02:00
13
+ date: 2011-04-05 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency