Remove unused args
This commit is contained in:
parent
7b21b43bc6
commit
1c1042e640
|
@ -168,7 +168,6 @@ impl<R: RawPile> RawPileCompressor<R> {
|
|||
&self,
|
||||
next_stage: Sender<(ChunkId, Vec<u8>)>,
|
||||
input: Receiver<(ChunkId, Vec<u8>)>,
|
||||
controller_send: &Sender<ControllerMessage>,
|
||||
worker_id: String,
|
||||
) -> anyhow::Result<()> {
|
||||
// the worker ID has to live forever, so we leak it :/
|
||||
|
@ -275,7 +274,6 @@ impl<R: RawPile> RawPile for RawPileCompressor<R> {
|
|||
if let Err(err) = this.storage_pipeline_worker(
|
||||
subsequent_pipeline,
|
||||
receiver,
|
||||
&controller_send,
|
||||
worker_id.to_string(),
|
||||
) {
|
||||
controller_send
|
||||
|
|
|
@ -373,7 +373,6 @@ impl SqliteBloblogPile {
|
|||
fn storage_pipeline_worker(
|
||||
&self,
|
||||
incoming: Receiver<(ChunkId, Vec<u8>)>,
|
||||
controller_sender: &Sender<ControllerMessage>,
|
||||
) -> anyhow::Result<()> {
|
||||
// can hold on to the same bloblog as long as we'd like!
|
||||
const POINTERS_BUFFER_SIZE: usize = 256;
|
||||
|
@ -705,7 +704,7 @@ impl RawPile for SqliteBloblogPile {
|
|||
|
||||
thread::spawn(move || {
|
||||
let worker_id = Arc::new(format!("bloblogwriter"));
|
||||
if let Err(err) = this.storage_pipeline_worker(incoming, &controller_send) {
|
||||
if let Err(err) = this.storage_pipeline_worker(incoming) {
|
||||
controller_send
|
||||
.send(ControllerMessage::Failure {
|
||||
worker_id,
|
||||
|
|
Loading…
Reference in New Issue