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

Shut down the driver's connection pool safely #220

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented May 24, 2024

These changes are now available in 2.9.2

Specifically, don't use the soft-deprecated AsyncKit API that calls EventLoopFuture.wait() internally; use the one that at least does it with Dispatch (best we can do without changing Fluent's driver interface).

@gwynne gwynne added the semver-patch Internal changes only label May 24, 2024
@gwynne gwynne requested review from 0xTim, MahdiBM and ptoffy May 24, 2024 09:58
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.77%. Comparing base (e44fcc8) to head (7b04b87).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #220   +/-   ##
=======================================
  Coverage   63.77%   63.77%           
=======================================
  Files           8        8           
  Lines         334      334           
=======================================
  Hits          213      213           
  Misses        121      121           
Files Coverage Δ
...es/FluentPostgresDriver/FluentPostgresDriver.swift 100.00% <100.00%> (ø)

@gwynne
Copy link
Member Author

gwynne commented May 24, 2024

The TSan failure in the 5.8 CI is a false positive that was fixed in 5.9.

@gwynne gwynne merged commit e2988a8 into main May 24, 2024
5 of 6 checks passed
@gwynne gwynne deleted the avoid-calling-elf-wait branch May 24, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants