We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401a0ff commit 2a584a9Copy full SHA for 2a584a9
src/lib.rs
@@ -32,6 +32,14 @@ pub mod unmanaged;
32
pub use deadpool_runtime::{Runtime, SpawnBlockingError};
33
34
/// The current pool status.
35
+///
36
+/// **The status returned by the pool is not guaranteed to be consistent!**
37
38
+/// While this features provides [eventual consistency][1] the numbers will be
39
+/// off when accessing the status of a pool under heavy load. These numbers
40
+/// are meant for an overall insight.
41
42
+/// [1]: (https://en.wikipedia.org/wiki/Eventual_consistency)
43
#[derive(Clone, Copy, Debug)]
44
pub struct Status {
45
/// The maximum size of the pool.
0 commit comments