Skip to content

Commit

Permalink
More doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
slawlor committed May 22, 2024
1 parent c48de11 commit bee0b68
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ractor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ractor"
version = "0.10.1"
version = "0.10.2"
authors = ["Sean Lawlor", "Evan Au", "Dillon George"]
description = "A actor framework for Rust"
documentation = "https://docs.rs/ractor"
Expand Down
6 changes: 3 additions & 3 deletions ractor/src/factory/factoryimpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ where
/// Controls the parallel capacity of the worker pool by dynamically growing/shrinking the pool
pub capacity_controller: Option<Box<dyn WorkerCapacityController>>,

/// Lifecycle hooks which provide access to points in the thrift factory's lifecycle
/// Lifecycle hooks which provide access to points in the factory's lifecycle
/// for shutdown/startup/draining
pub lifecycle_hooks: Option<Box<dyn FactoryLifecycleHooks<TKey, TMsg>>>,

Expand Down Expand Up @@ -319,9 +319,9 @@ where

/// Sets the factory's lifecycle hooks implementation
///
/// Lifecycle hooks provide access to points in the thrift factory's lifecycle
/// Lifecycle hooks provide access to points in the factory's lifecycle
/// for shutdown/startup/draining where user-defined logic can execute (and
/// block factory lifecycle at critical points). For example, in thrift, this means
/// block factory lifecycle at critical points). This means
/// the factory won't start accepting requests until the complete startup routine
/// is completed.
pub fn with_lifecycle_hooks<TLifecycle: FactoryLifecycleHooks<TKey, TMsg>>(
Expand Down
6 changes: 3 additions & 3 deletions ractor/src/factory/queues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ impl From<usize> for StandardPriority {
}

/// The [PriorityManager] is responsible for extracting the job priority from
/// a given job's key (`TKey`). Additionally in some scenarios (e.g. thrift servers)
/// some jobs may be non-discardable, i.e. can be enqueued regardless of the backpressure
/// status of the factory. This is also responsible for determining if a job can be loadshed.
/// a given job's key (`TKey`). Additionally in some scenarios some jobs may be non-discardable,
/// i.e. can be enqueued regardless of the backpressure status of the factory. This is also
/// responsible for determining if a job can be loadshed.
pub trait PriorityManager<TKey, TPriority>: Send + Sync + 'static
where
TKey: JobKey,
Expand Down
2 changes: 1 addition & 1 deletion ractor_cluster/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ractor_cluster"
version = "0.10.1"
version = "0.10.2"
authors = ["Sean Lawlor", "Evan Au", "Dillon George"]
description = "Distributed cluster environment of Ractor actors"
documentation = "https://docs.rs/ractor"
Expand Down
2 changes: 1 addition & 1 deletion ractor_cluster_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ractor_cluster_derive"
version = "0.10.1"
version = "0.10.2"
authors = ["Sean Lawlor <seanlawlor@fb.com>"]
description = "Derives for ractor_cluster"
license = "MIT"
Expand Down

0 comments on commit bee0b68

Please sign in to comment.