Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo @ 4ab1af1a

Name Size
  lib
  settings
  util
  versions
__init__.py 200 Bytes

Latest revisions

# Date Author Comment
4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

pool context manager, http pool AssertionError fix

Refs #3492

- Introduce a generic PooledObject class to act both
as a context manager for getting and putting back
an object from a pool.

- Implement a class PooledHTTPConnection(PooledObject)
as a sublcass of the one in (1)...

a8447cc8 03/27/2013 06:59 pm Georgios D. Tsoukalas

remove obsolete example code module http_request

1c53bc1d 03/22/2013 05:25 pm Stratos Psomadakis

Fix deref before None check in http pool

1fd14d3d 03/22/2013 04:23 pm Giorgos Korfiatis

Return EmptyQuerySet on an EmptyResultSet

Refs #3489

Call to as_sql() raises EmptyResultSet in a couple of occasions,
more importantly when filtering based on an empty list: filter(field__in=[]).

a6a152d6 03/22/2013 03:55 pm Giorgos Korfiatis

Move managers.py in synnefo.lib.db

This makes it easier to maintain, since it is used in multiple applications
(astakos.im and quotaholder_app).

b9818693 03/13/2013 04:43 pm Christos Stavrakakis

Fix inadvertent use of shared objects

Fix inadvertent use of shared objects in synnefo/lib/astakos.py and
pithos/api/delegate.py, since current use is racy when running multiple
requests under gunicorn. Create a private, per-request copy instead.

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

784dcbdb 02/15/2013 01:41 pm Georgios D. Tsoukalas

fix quotaholder nested exception JSON failure

also, log http 500 on server side

0275cd41 02/15/2013 12:13 pm Giorgos Korfiatis

pep8 fixes and copyright notice

c5d7bb5d 02/14/2013 04:27 pm Giorgos Korfiatis

Simplify handler's call

View revisions

Also available in: Atom