aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-08 10:32:41 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-08 10:32:41 +0200
commit0f660b086c23d13c91b0c55fd4d43017a09c1f4b (patch)
treee90e44eaead17378de24d1b403156f3ae5e00de5 /src/util
parent4312623930efda3099474569c05a086ef1d02998 (diff)
downloadgarage-0f660b086c23d13c91b0c55fd4d43017a09c1f4b.tar.gz
garage-0f660b086c23d13c91b0c55fd4d43017a09c1f4b.zip
fix comments
Diffstat (limited to 'src/util')
-rw-r--r--src/util/background/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/background/worker.rs b/src/util/background/worker.rs
index 7fd63c2b..aadc677f 100644
--- a/src/util/background/worker.rs
+++ b/src/util/background/worker.rs
@@ -47,7 +47,7 @@ pub trait Worker: Send {
/// middle of processing, it will only be interrupted at the last minute when Garage is trying
/// to exit and this hasn't returned yet. This function may return an error to indicate that
/// its unit of work could not be processed due to an error: the error will be logged and
- /// .work() will be called again immediately.
+ /// .work() will be called again after a short delay.
async fn work(&mut self, must_exit: &mut watch::Receiver<bool>) -> Result<WorkerStatus, Error>;
/// Wait for work: await for some task to become available. This future can be interrupted in