#timeout #tower #requests #within #duration #fixed #completion

tower-timeout

Apply a timeout to requests, ensuring completion within a fixed time duration

6 releases

0.3.0 Dec 19, 2019
0.3.0-alpha.2 Sep 30, 2019
0.1.1 Jul 30, 2019
0.1.0 Apr 27, 2019
0.0.0 Nov 16, 2017

#1961 in Asynchronous

Download history 2082/week @ 2024-03-31 2137/week @ 2024-04-07 2826/week @ 2024-04-14 2370/week @ 2024-04-21 2490/week @ 2024-04-28 2384/week @ 2024-05-05 2657/week @ 2024-05-12 2826/week @ 2024-05-19 3242/week @ 2024-05-26 3675/week @ 2024-06-02 2618/week @ 2024-06-09 2307/week @ 2024-06-16 1820/week @ 2024-06-23 991/week @ 2024-06-30 1447/week @ 2024-07-07 1554/week @ 2024-07-14

5,926 downloads per month

MIT license

42KB
558 lines

Tower Timeout

Apply a timeout to requests, ensuring completion within a fixed time duration.

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.


lib.rs:

Tower middleware that applies a timeout to requests.

If the response does not complete within the specified timeout, the response will be aborted.

Dependencies

~5MB
~85K SLoC