diff --git a/src/imap/idle.rs b/src/imap/idle.rs index a7914bd1d..3d1c2bdff 100644 --- a/src/imap/idle.rs +++ b/src/imap/idle.rs @@ -21,16 +21,13 @@ impl Imap { watch_folder: Option, ) -> Result { use futures::future::FutureExt; - info!(context, "verbose (issue 2065): step 2 starting idle"); if !self.can_idle() { bail!("IMAP server does not have IDLE capability"); } self.setup_handle(context).await?; - info!(context, "verbose (issue 2065): step 3 setup handle"); self.select_folder(context, watch_folder.clone()).await?; - info!(context, "verbose (issue 2065): step 4 selected folder"); let timeout = Duration::from_secs(23 * 60); let mut info = Default::default(); @@ -47,14 +44,9 @@ impl Imap { _ => info!(context, "ignoring unsolicited response {:?}", response), } } - info!(context, "verbose (issue 2065): step 5 checked responsed"); if unsolicited_exists { self.session = Some(session); - info!( - context, - "verbose (issue 2065): exiting because unsolicited_exists" - ); return Ok(info); } @@ -68,7 +60,6 @@ impl Imap { if let Err(err) = handle.init().await { bail!("IMAP IDLE protocol failed to init/complete: {}", err); } - info!(context, "verbose (issue 2065): step 6 inited handle"); let (idle_wait, interrupt) = handle.wait_with_timeout(timeout); diff --git a/src/scheduler.rs b/src/scheduler.rs index a956c0373..35121349e 100644 --- a/src/scheduler.rs +++ b/src/scheduler.rs @@ -148,7 +148,6 @@ async fn fetch_idle(ctx: &Context, connection: &mut Imap, folder: Config) -> Int // but maybe just one folder can't be selected or something warn!(ctx, "{}", err); } - info!(ctx, "verbose (issue 2065): step 1 done fetching"); // idle if connection.can_idle() {