mirror of
https://github.com/tower-rs/tower.git
synced 2025-09-29 05:50:56 +00:00

The previous code used a fixed-size histogram with an upper bound of 10_000 ms (10s). This meant that the `Hedge` middleware would display errors when used with services that take longer than 10s to complete a response. Instead, use a constructor that produces an auto-resizing histogram. In the future, if the auto-resizing behavior is an issue, Tower could add a second constructor for the Hedge middleware that allows specifying bounds, but for now this change is transparent and avoids spurious errors.
Tower
Tower is a library of modular and reusable components for building robust networking clients and servers.
Overview
Tower aims to make it as easy as possible to build robust networking clients and servers. It is protocol agnostic, but is designed around a request / response pattern. If your protocol is entirely stream based, Tower may not be a good fit.
Status
Currently, tower 0.3
is released on crates. We are currently working on cleaning
up the codebase and adding more documentation. You can follow our progress in
this issue.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.
Description
Languages
Rust
100%