Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib @ 2ef10562

Name Size
  db
  middleware
  pool
  singleton
__init__.py 0 Bytes
amqp.py 2.4 kB
amqp_haigha.py 10 kB
amqp_puka.py 13.6 kB
astakos.py 3.6 kB
context_processors.py 2.3 kB
dictconfig.py 22.4 kB
http_request.py 4.3 kB
ordereddict.py 4.1 kB
parsedate.py 3.5 kB
queue.py 4.3 kB
utils.py 2.5 kB

Latest revisions

# Date Author Comment
2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

Change eventd and dispatcher AMQP retries

Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,
since death of snf-ganeti-eventd results in loss of events.
Also increase retries of snf-dispatcher.

b537ac01 10/08/2012 11:19 am Christos Stavrakakis

Fix bug in amqp_puka

Make AMQPConnectionError an exception

00698e35 09/18/2012 10:31 am Christos Stavrakakis

Fix cleanup of DB pooled connections

Fix bug in cleanup of DB pooled connections before putting them back to
the pool. The way the connection was cleaned, resulted in mishandling of
the transactions.

Accoring to psycopg2 docs, in case of a READ COMMITED isolation level:...

702850c4 09/12/2012 01:17 pm Christos Stavrakakis

Enhange logging in db and http pools

ac7e2fd7 09/12/2012 01:16 pm Christos Stavrakakis

Fix bug in http connection pool

Do not reset connetion _pool attribute, since it is not (yet?)
initialized when getting the object from the pool.

a1284c0c 09/07/2012 06:24 pm Georgios D. Tsoukalas

remove obsolete kwarg verify

c4dcfcf6 09/07/2012 03:36 pm Georgios D. Tsoukalas

port pooled psycopg2 to new pool api

90644e50 09/07/2012 03:15 pm Georgios D. Tsoukalas

don't take mutex for cleanup

57607cbd 09/07/2012 03:15 pm Georgios D. Tsoukalas

Enhance pooling API, implementation, and tests

- Verify objects (new and old) with a hook _pool_verify.
Discard objects from the pool that fail verification.
A newly created object failing verification is fatal.

- Remove all hooks from the pool set access critical section....

afe19961 09/07/2012 03:15 pm Georgios D. Tsoukalas

complete some functionality

View revisions

Also available in: Atom