Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nio #23

Merged
merged 37 commits into from
Mar 21, 2018
Merged

nio #23

merged 37 commits into from
Mar 21, 2018

Conversation

tanner0101
Copy link
Member

  • use Swift NIO

@tanner0101 tanner0101 added the enhancement New feature or request label Mar 2, 2018
@tanner0101 tanner0101 added this to the 1.0.0-rc.2 milestone Mar 2, 2018
@tanner0101 tanner0101 self-assigned this Mar 2, 2018
@tanner0101 tanner0101 changed the title Nio nio Mar 2, 2018
tanner0101 and others added 21 commits March 2, 2018 21:23
Note that I have not made parsing the textual format of the timestamp type more accurate - do we need that? If so, where is that format documented?
Add support for persisting dates with microsecond precision
`PostgreSQLTableNameCache` holds a `PostgreSQLConnection` future. Once that future is fulfilled, it strongly holds a reference to `PostgreSQLConnection`. That connection in turn holds the table name cache, so we have a reference cycle. This causes the table name cache and its connection to never get released. This is relevant when testing, if the tests are set up such that each test creates a new `Database`.
Fix a memory leak in `PostgreSQLConnection`
added connection string parsing for PostgreSQLDatabaseConfig
@MrMage
Copy link
Contributor

MrMage commented Mar 14, 2018

Just so we don’t forget this: I think we need a reader/writer lock (eg. with Dispatch barriers) on PostgreSQLTableynameCache to ensure that nobody is reading from the cache while another thread is writing to it.

@tanner0101 tanner0101 merged commit 1823a1c into master Mar 21, 2018
@tanner0101 tanner0101 deleted the nio branch March 21, 2018 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants