github vapor/vapor 4.96.0
4.96.0 - Make # of connections accepted per event loop cycle configurable, and raise the default

latest releases: 4.100.0, 4.99.3, 4.99.2...
14 days ago

What's Changed

Make # of connections accepted per event loop cycle configurable, and raise the default by @gwynne in #3186

As per @weissi’s suggestion in this forums post, we raise the default maximum number of connections accepted per cycle of the server’s event loop from 4 to 256, and the value is now user-configurable.

There are no new tests for this because I’m not sure if there’s a way to measure the effect of changing this value that doesn’t involve nondeterministic timing measurements.

Also takes the opportunity/excuse to add the missing customCertificateVerifyCallback parameter to the initializers of HTTPServer.Configuration.

Reviewers

Thanks to the reviewers for their help:

This patch was released by @gwynne

Full Changelog: 4.95.0...4.96.0

Don't miss a new vapor release

NewReleases is sending notifications on new releases.