aboutsummaryrefslogtreecommitdiff
path: root/src/background.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-16 18:41:10 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-16 18:41:10 +0200
commit2832be4396d2ed40bfb0bd4358bc14ef7432decb (patch)
treebf2f7ddc0a46a53c9ad1a38db3a288dff3eac3f0 /src/background.rs
parente8d750175de3daff0876b63c9ae4dcbd047be793 (diff)
downloadgarage-2832be4396d2ed40bfb0bd4358bc14ef7432decb.tar.gz
garage-2832be4396d2ed40bfb0bd4358bc14ef7432decb.zip
WIP
Diffstat (limited to 'src/background.rs')
-rw-r--r--src/background.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.rs b/src/background.rs
index 772745a6..f4b889ea 100644
--- a/src/background.rs
+++ b/src/background.rs
@@ -14,7 +14,7 @@ type Job = Pin<Box<dyn Future<Output = JobOutput> + Send>>;
pub struct BackgroundRunner {
n_runners: usize,
- stop_signal: watch::Receiver<bool>,
+ pub stop_signal: watch::Receiver<bool>,
queue_in: mpsc::UnboundedSender<(Job, bool)>,
queue_out: Mutex<mpsc::UnboundedReceiver<(Job, bool)>>,