Repository navigation
Refactor connection handling - #1892
Merged
Merged
Conversation
…e generic/understandable codebase
…es but needs a differerent connection per transaction
9 of 10 tasks
Member
There was a problem hiding this comment.
You are not handling time zones in this PR right?
This option should probably be extended to all dialects / or just give the user the option to pass a timezone
Contributor
Author
There was a problem hiding this comment.
Not in this PR specifically no. My thinking is after we merge this PR i'll add connection hooks and then we'll move timezone query generation to the query generators and then run those via sequelize.query on a afterConnect hook.
mickhansen
added a commit
that referenced
this pull request
Jun 16, 2014
Refactor connection handling - Closes #1601
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress, just getting my travis on.
This PR should solve issues with transactions setting up too many connections, transaction not closing their connections and other stuff.
This PR should also help make the connnection codebase more understandable and more general per dialect.