Skip to content

Commit

Permalink
config: Increase cassandra pool timeout values for api-server
Browse files Browse the repository at this point in the history
Change-Id: Ia25e8b4abada98aa0d2273bf7af1e414c8644866
Closes-Bug: #1418764
  • Loading branch information
Hampapur Ajay committed Feb 5, 2015
1 parent 0579ca1 commit 8f45fcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config/api-server/vnc_cfg_ifmap.py
Expand Up @@ -656,12 +656,12 @@ def _cassandra_init(self, server_list):

uuid_pool = pycassa.ConnectionPool(
uuid_ks_name, server_list, max_overflow=-1,
use_threadlocal=True, prefill=True, pool_size=20, pool_timeout=30,
max_retries=-1, timeout=0.5)
use_threadlocal=True, prefill=True, pool_size=20, pool_timeout=120,
max_retries=-1, timeout=5)
useragent_pool = pycassa.ConnectionPool(
useragent_ks_name, server_list, max_overflow=-1,
use_threadlocal=True, prefill=True, pool_size=20, pool_timeout=30,
max_retries=-1, timeout=0.5)
use_threadlocal=True, prefill=True, pool_size=20, pool_timeout=120,
max_retries=-1, timeout=5)

rd_consistency = pycassa.cassandra.ttypes.ConsistencyLevel.QUORUM
wr_consistency = pycassa.cassandra.ttypes.ConsistencyLevel.QUORUM
Expand Down

0 comments on commit 8f45fcb

Please sign in to comment.