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 #224

Merged
merged 2 commits into from
May 24, 2024
Merged

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented May 24, 2024

These changes are now available in 4.5.1

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).

Also updates dependency version requirements.

@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 98.87%. Comparing base (26f142d) to head (fc67041).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #224   +/-   ##
=======================================
  Coverage   98.87%   98.87%           
=======================================
  Files           7        7           
  Lines         266      266           
=======================================
  Hits          263      263           
  Misses          3        3           
Files Coverage Δ
Sources/FluentMySQLDriver/FluentMySQLDriver.swift 100.00% <100.00%> (ø)

@gwynne gwynne merged commit 4f07d7f into main May 24, 2024
21 checks passed
@gwynne gwynne deleted the avoid-calling-elf-wait branch May 24, 2024 10:56
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.

None yet

2 participants