Skip to content

Commit

Permalink
lint: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
geofmureithi committed Nov 22, 2024
1 parent e4d982d commit 5f366cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/apalis-sql/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,14 @@ impl Config {
&mut self.reenqueue_orphaned_after
}

/// Occasionally some workers die, or abandon jobs because of panics.
/// Occasionally some workers die, or abandon jobs because of panics.
/// This is the time a task takes before its back to the queue
///
/// Defaults to 5 minutes
pub fn set_reenqueue_orphaned_after(mut self, after: Duration) -> Self {
self.reenqueue_orphaned_after = after;
self
}

}

/// Calculates the status from a result
Expand Down

0 comments on commit 5f366cc

Please sign in to comment.