Skip to content

Commit

Permalink
Merge pull request #4 from OnShift/feature/disable-pg-pooling
Browse files Browse the repository at this point in the history
Feature/disable pg pooling
  • Loading branch information
bfellers committed Feb 11, 2020
2 parents 4bc231e + a2858c6 commit 642a56b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ docs/_build/

# PyBuilder
target/

# VS Code
.vscode/
6 changes: 3 additions & 3 deletions sqlobject/__version__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

version = '1.6'
version = '1.6.1'
major = 1
minor = 6
micro = 0
micro = 1
release_level = 'trunk'
serial = 1
serial = 0
version_info = (major, minor, micro, release_level, serial)
2 changes: 2 additions & 0 deletions sqlobject/postgres/pgconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def __init__(self, dsn=None, host=None, port=None, db=None,
self.schema = kw.pop('schema', None)
self.dbEncoding = kw.pop("charset", None)
DBAPI.__init__(self, **kw)
# disable "pooling" (keeping connections alive)
self._pool = None

@classmethod
def _connectionFromParams(cls, user, password, host, port, path, args):
Expand Down

0 comments on commit 642a56b

Please sign in to comment.