From 0bb74e54b19100b05597fe45cb26ac52e7a80bc1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 31 Oct 2020 19:46:54 +0100 Subject: [PATCH] worker task: drop debug prints they are not useful anymore, rather noisy Signed-off-by: Thomas Lamprecht --- src/server/worker_task.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/server/worker_task.rs b/src/server/worker_task.rs index 24cfab62..5dc215ff 100644 --- a/src/server/worker_task.rs +++ b/src/server/worker_task.rs @@ -602,18 +602,9 @@ struct WorkerTaskData { pub abort_listeners: Vec>, } -impl Drop for WorkerTask { - - fn drop(&mut self) { - println!("unregister worker"); - } -} - impl WorkerTask { pub fn new(worker_type: &str, worker_id: Option, auth_id: Authid, to_stdout: bool) -> Result, Error> { - println!("register worker"); - let upid = UPID::new(worker_type, worker_id, auth_id)?; let task_id = upid.task_id; @@ -692,8 +683,6 @@ impl WorkerTask { ) -> Result where F: Send + UnwindSafe + 'static + FnOnce(Arc) -> Result<(), Error> { - println!("register worker thread"); - let worker = WorkerTask::new(worker_type, worker_id, auth_id, to_stdout)?; let upid_str = worker.upid.to_string();