Skip to content

Refactor connection handling - #1892

Merged
mickhansen merged 8 commits into
masterfrom
connection-management-refactor
Jun 16, 2014
Merged

mickhansen merged 8 commits into
masterfrom
connection-management-refactor

Conversation

@mickhansen

Copy link
Copy Markdown
Contributor

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.

@mickhansen mickhansen mentioned this pull request Jun 12, 2014
9 of 10 tasks

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool beans :)

mickhansen added a commit that referenced this pull request Jun 16, 2014
@mickhansen
mickhansen merged commit 09c8c3f into master Jun 16, 2014
@janmeier
janmeier deleted the connection-management-refactor branch July 18, 2014 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants