(initial) Align formatting and code style to project standards.
This commit is contained in:
@@ -2,16 +2,17 @@
|
||||
//! of this same binary (`porthole __supervise <name>`, see `main.rs`); owns
|
||||
//! the `ssh` child process for one profile's entire supervised lifetime.
|
||||
|
||||
use crate::error::Result;
|
||||
use crate::instance::{self, Instance, Lock, State};
|
||||
use crate::profile::{self, Profile};
|
||||
use crate::{ssh, timefmt};
|
||||
use std::fs::OpenOptions;
|
||||
use std::io::{BufRead, BufReader, Write};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::{ Arc, Mutex };
|
||||
use std::thread::JoinHandle;
|
||||
use std::time::{Duration, Instant};
|
||||
use std::time::{ Instant, Duration };
|
||||
use std::io::{ Write, BufRead, BufReader };
|
||||
use std::sync::atomic::{ Ordering, AtomicBool };
|
||||
|
||||
use crate::error::Result;
|
||||
use crate::{ ssh, timefmt };
|
||||
use crate::profile::{ self, Profile };
|
||||
use crate::instance::{ self, Lock, State, Instance };
|
||||
|
||||
/// How long a connection must survive before its uptime resets the backoff
|
||||
/// counter back to the base delay - spec §4.1.
|
||||
|
||||
Reference in New Issue
Block a user