Exclude image preparation from client startup deadline
This commit is contained in:
parent
8334fd379f
commit
55eed08db7
1 changed files with 106 additions and 22 deletions
|
|
@ -3,6 +3,7 @@ use std::fs::File;
|
|||
use std::io::{self, Write};
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Mutex;
|
||||
use std::time::Duration;
|
||||
|
||||
use ed25519_dalek::SigningKey;
|
||||
use lazaret_control_client::{ControlClient, ControlClientError, PendingClientEnrollment};
|
||||
|
|
@ -25,11 +26,14 @@ pub mod private_roles;
|
|||
pub mod state;
|
||||
pub mod terminal;
|
||||
|
||||
pub const DEFAULT_STARTUP_TIMEOUT: Duration = Duration::from_secs(30);
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct ClientCommand {
|
||||
pub profile: String,
|
||||
pub workspace: PathBuf,
|
||||
pub configuration: Option<PathBuf>,
|
||||
pub startup_timeout: Duration,
|
||||
pub argv: Vec<Vec<u8>>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue