Skip to content

Commit

Permalink
Merge pull request #116 from NYU-DevOps-Spring2018-Orders/test-ssl
Browse files Browse the repository at this point in the history
add connection pool
  • Loading branch information
andyd0 authored May 1, 2018
2 parents 68a494c + bbfdd82 commit 227fc1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# Load Config
app.config.from_object('config')
print('Database URI {}'.format(app.config['SQLALCHEMY_DATABASE_URI']))

app.config['SQLALCHEMY_POOL_RECYCLE'] = 599
# Initialize SQLAlchemy
db = SQLAlchemy(app)

from app import server, models
from app import server, models
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ behave==1.2.5
selenium==3.3.1
compare==0.2b0
requests==2.13.0
flasgger==0.8.3
flasgger==0.8.3

urllib3

0 comments on commit 227fc1a

Please sign in to comment.