async-kit

1.2.0

Sugary extensions for the SwiftNIO library
vapor/async-kit

What's New

Timeout connection requests when in a deadlock.

2020-06-30T07:56:08Z
This patch was authored and released by @MrLotU.

Fixes a bug when requesting n+1 connections from a connection pool with limit n where each new connection waited on the previous one.

Previously, this would create a deadlock. Now, a timeout can be added to EventLoopConnectionPool, that will return a failed future if the timeout is reached. Timeout defaults to 10 seconds but can be configured.
Fixes #63

Description

  • Swift Tools 5.2.0

Dependencies

Last updated: Wed Nov 18 2020 03:40:17 GMT-0500 (GMT-05:00)