1. 19 Sep, 2012 7 commits
  2. 07 Sep, 2012 11 commits
  3. 06 Sep, 2012 1 commit
  4. 04 Sep, 2012 1 commit
  5. 31 Aug, 2012 1 commit
  6. 27 Aug, 2012 3 commits
  7. 25 Aug, 2012 2 commits
    • Vangelis Koukis's avatar
      Add pooling synnefo.db.pooled_psycopg2 DBAPI drv · b2400647
      Vangelis Koukis authored
      Add DBAPI driver synnefo.db.pooled_psycopg2, which is a
      thin, pooling wrapper around psycopg2.
      
      To use, first monkey-patch psycopg2:
      
      from synnefo.db.pooled_psycopg2 import monkey_patch_psycopg2
      monkey_patch_psycopg2()
      
      Then use the psycopg2 driver as usual.
      For Django, this means using django.db.backends.postgresql_psycopg2
      without any modifications.
      
      To enable connection pooling, pass a nonzero 'synnefo_poolsize' option
      to the DBAPI driver, e.g., through DATABASES.OPTIONS in django.
      b2400647
    • Vangelis Koukis's avatar
      Make pool more robust on obj creation failure · 6f7dae0d
      Vangelis Koukis authored
      Make ObjectPool handle failures during object creation more robustly,
      and release the pool semaphore.
      6f7dae0d
  8. 24 Aug, 2012 2 commits
  9. 09 Aug, 2012 1 commit
  10. 06 Aug, 2012 7 commits
  11. 03 Aug, 2012 3 commits
  12. 01 Aug, 2012 1 commit