             @conn.shutdown?()
             delete @conn
         @conn = new Client
-            hosts      : opts.hosts
-            keyspace   : opts.keyspace
-            username   : opts.username
-            password   : opts.password
+            hosts                 : opts.hosts
+            keyspace              : opts.keyspace
+            username              : opts.username
+            password              : opts.password
             getAConnectionTimeout : opts.conn_timeout_ms
+            latencyLimit          : opts.latency_limit
+            poolSize              : opts.pool_size
 
         if opts.verbose
             @conn.on 'log', (level, message) =>

            query_max_retry : 10    # max number of retries
            consistency     : undefined
            verbose         : false # quick hack for debugging...
            conn_timeout_ms : 5000  # Maximum time in milliseconds to wait for a connection from the pool.

        @keyspace = opts.keyspace
        @query_timeout_s = opts.query_timeout_s

winston = require('winston')                    # https://github.com/flatiron/winston

cql     = require("node-cassandra-cql")
Client  = cql.Client  # https://github.com/jorgebay/node-cassandra-cql; https://github.com/jorgebay/node-cassandra-cql/issues/81
uuid    = require('node-uuid')
{EventEmitter} = require('events')

