diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-16 18:41:10 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-16 18:41:10 +0200 |
commit | 2832be4396d2ed40bfb0bd4358bc14ef7432decb (patch) | |
tree | bf2f7ddc0a46a53c9ad1a38db3a288dff3eac3f0 /src/background.rs | |
parent | e8d750175de3daff0876b63c9ae4dcbd047be793 (diff) | |
download | garage-2832be4396d2ed40bfb0bd4358bc14ef7432decb.tar.gz garage-2832be4396d2ed40bfb0bd4358bc14ef7432decb.zip |
WIP
Diffstat (limited to 'src/background.rs')
-rw-r--r-- | src/background.rs | 2 |
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)>>, |