Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
actually pass multiprocessing setting to connection creation
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed May 17, 2017
1 parent 9f1960e commit 97e711b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pgdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def connect(url=None, schema=None, sql_path='sql', multiprocessing=False):
"""
if url is None:
url = os.environ.get('DATABASE_URL')
return Database(url, schema)
return Database(url, schema, multiprocessing=multiprocessing)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
},
entry_points="""
[console_scripts]
pgdb=pgdb.scripts.cli:cli
pgdb=pgdb.cli:cli
"""
)

0 comments on commit 97e711b

Please sign in to comment.