Method: Sequel::ShardedTimedQueueConnectionPool#size
- Defined in:
- lib/sequel/connection_pool/sharded_timed_queue.rb
permalink #size(server = :default) ⇒ Object
The total number of connections in the pool. Using a non-existant server will return nil.
144 145 146 |
# File 'lib/sequel/connection_pool/sharded_timed_queue.rb', line 144 def size(server=:default) sync{@sizes[server]} end |