Permalink
Commits on Oct 21, 2015
  1. Fix typo in readme.

    committed Oct 21, 2015
Commits on Oct 13, 2015
  1. @haizaar

    Merge pull request #125 from haizaar/master

    Fixed wrong issue reference
    haizaar committed Oct 13, 2015
  2. @haizaar

    Fixed wrong issue reference

    haizaar committed Oct 13, 2015
  3. @haizaar

    Merge pull request #124 from haizaar/master

    Going 2.2.1
    haizaar committed Oct 13, 2015
  4. @haizaar

    Going 2.2.1

    haizaar committed Oct 13, 2015
  5. @haizaar

    Merge pull request #123 from haizaar/master

    Style fix
    haizaar committed Oct 13, 2015
  6. @haizaar

    Style fix

    haizaar committed Oct 13, 2015
  7. @haizaar

    Merge pull request #122 from jbowes/wait-on-pending

    Wait for a pending connection when acquiring
    haizaar committed Oct 13, 2015
Commits on Oct 7, 2015
  1. @jbowes

    Wait for a pending connection when acquiring

    There are two cases when a caller might ask for a connection when the
    only available ones are in a pending state:
    - Upon initialization, if the caller hasn't waited for `connect()` to
      complete.
    - After all connections to the database are lost, and they are
      reconnecting.
    
    Instead of immediately returning an error to the caller, add them to the
    waiting queue, allowing them to either get a connection, or return an
    error if none of the pending connections succeed.
    jbowes committed Aug 9, 2015
Commits on Sep 20, 2015
  1. @haizaar

    Merge pull request #121 from haizaar/master

    Going 2.2.0
    haizaar committed Sep 20, 2015
  2. @haizaar

    Going 2.2.0

    haizaar committed Sep 20, 2015
Commits on Aug 27, 2015
  1. @haizaar

    Merge pull request #120 from haizaar/master

    Fixes to re-connect logic
    haizaar committed Aug 27, 2015
  2. @haizaar

    Minor cleanup

    haizaar committed Aug 27, 2015
  3. @haizaar

    Disabled Proxy tests on psycopg2cffi - bug in the lib.

    More info here: chtd/psycopg2cffi#49
    In the nutshell - connecion is not marked as closed properly.
    haizaar committed Aug 27, 2015
  4. @haizaar
  5. @haizaar
  6. @haizaar

    Removed debug

    haizaar committed Aug 27, 2015
  7. @haizaar

    Printing dsn vars

    haizaar committed Aug 27, 2015
  8. @haizaar
  9. @haizaar

    Printing env for debug

    haizaar committed Aug 27, 2015
  10. @haizaar
Commits on Aug 26, 2015
  1. @haizaar

    Travis Postgres TCP debug

    haizaar committed Aug 26, 2015
  2. @haizaar
  3. @haizaar

    Trying to force TCP on Travis CI

    haizaar committed Aug 26, 2015
  4. @haizaar
  5. @haizaar
  6. @haizaar

    Fixed serious flaw with connection retrials

    There was bug in reconnect logic. Retries were only performed
    if operation attempt failes synchrnously. However typically
    this is not the case. The most obvouis case for reconnects
    is when database server restarts. However client does not detects
    that server went await up until `connection.poll()`. I.e.
    `cursor.execute` finishes successfully.
    
    Unfortunately in such cases Momoko simply progated the error to
    the caller, practically rendering reconnection code useless.
    
    The bug existed primarily to the fact, that I did not find a good
    and simple way to simulate sever going away and coming back in my
    unitests. Now I've integrated third-party tcproxy package that
    I launch and restart when needed from unittest code. So finally,
    I have all the tools to fix and verify all reconnection logic.
    haizaar committed Aug 26, 2015
  7. @haizaar
  8. @haizaar

    Fixed ping to handle failures properly.

    Fixes #115 in the right way.
    haizaar committed Aug 26, 2015
  9. @haizaar

    Added note to tcpproxy's README

    haizaar committed Aug 26, 2015
  10. @haizaar
  11. @haizaar

    Renamed kill_connections to close_connections

    The method really closes connection, not kills them.
    And there will be more tests that really kill connection.
    haizaar committed Aug 26, 2015
  12. @haizaar

    Merge pull request #119 from friedcell/patch-2

    Update README.rst to explicitly mention Tornado >= 4.0
    haizaar committed Aug 26, 2015
  13. @friedcell

    Update README.rst

    Added Tornado >= 4.0 notice
    friedcell committed Aug 26, 2015
  14. @haizaar

    Merge pull request #118 from friedcell/patch-1

    Update tutorial.rst
    haizaar committed Aug 26, 2015