Skip to content

Commit

Permalink
SQLAlchemt config update
Browse files Browse the repository at this point in the history
  • Loading branch information
ehenneken committed Aug 31, 2016
1 parent 0067a4a commit 3045100
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.7

* SQLALCHEMY_COMMIT_ON_TEARDOWN = True (in config)

### 1.0.6

* commit after database queries
Expand Down
2 changes: 2 additions & 0 deletions service/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
GRAPHICS_SECRET_KEY = 'this should be changed'
GRAPHICS_INCLUDE_ARXIV = False
SQLALCHEMY_BINDS = {}
# Proper handling of database connections
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
GRAPHICS_ENABLE_UPDATES = False
# Define sets for which to obtain graphics data for graphics database
# The key defines the set and the values are journals (or categories, in the
Expand Down

0 comments on commit 3045100

Please sign in to comment.