| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / pool @ 1c65202f

Name Size 8.1 kB 5.1 kB 10 kB

Latest revisions

# Date Author Comment
9557ea30 10/09/2012 05:01 pm Vangelis Koukis

Fix duplicate return of HTTP connection into pool

Fix duplicate return of HTTP connection into pool on duplicate
invocation of conn.close().

Revert commit b9c834003, and make sure a connection object's _pool
attribute is re-initialized whenever it is retrieved from the pool....

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

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....

818bb9bf 09/04/2012 04:45 pm Georgios D. Tsoukalas

simple http_request objects over connection pools

7138c600 08/25/2012 03:03 pm Vangelis Koukis

Make pool more robust on obj creation failure

Make ObjectPool handle failures during object creation more robustly,
and release the pool semaphore.

3447b13d 08/24/2012 07:17 pm Vangelis Koukis

Extend ObjectPool functionality, tests

09cdd926 08/24/2012 02:32 pm Vangelis Koukis

Rename ObjectPool methods to pool_{put(), get()}

View revisions

Also available in: Atom