Skip to content
Snippets Groups Projects
Commit 16791c4b authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Merge pull request #10 from djt5019/fix-env-var

Properly cast the environment variable as an integer
parents c078d932 8c4fc074
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -8,7 +8,7 @@ The core `queries.Queries` class will automatically register support for UUIDs,
Unicode and Unicode arrays.
 
"""
__version__ = '1.7.2'
__version__ = '1.7.3'
version = __version__
 
import logging
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@ import weakref
LOGGER = logging.getLogger(__name__)
 
DEFAULT_IDLE_TTL = 60
DEFAULT_MAX_SIZE = os.environ.get('QUERIES_MAX_POOL_SIZE', 1)
DEFAULT_MAX_SIZE = int(os.environ.get('QUERIES_MAX_POOL_SIZE', 1))
 
 
class Connection(object):
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@ classifiers = ['Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries']
 
setup(name='queries',
version='1.7.2',
version='1.7.3',
description="Simplified PostgreSQL client built upon Psycopg2",
maintainer="Gavin M. Roy",
maintainer_email="gavinmroy@gmail.com",
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment