Skip to content

Commit

Permalink
Update src/worker/stop.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Gjengset <[email protected]>
  • Loading branch information
rustworthy and jonhoo authored Jul 21, 2024
1 parent 5839952 commit 4c125b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/worker/stop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ pub enum StopReason {

/// The Faktory server asked us to shut down.
///
/// Under the hood, the worker is being in constant communication with the Faktory server,
/// not only fetching jobs and reporting on processing results, but also listening for
/// the server's instructions, one of which can be to disengage (e.g., to indicate that the
/// Under the hood, the worker is in constant communication with the Faktory server.
/// It fetches jobs and reports on processing results, but also listens for the server's
/// instructions. One of those instructions can be to disengage (e.g., to indicate that the
/// server is shutting down.
ServerInstruction,
}
Expand Down

0 comments on commit 4c125b6

Please sign in to comment.