Lines 46-52
pub const DEFAULT_PORT: u16 = 4226;
Link Here
|
46 |
pub const DEFAULT_PORT: u16 = 4226; |
46 |
pub const DEFAULT_PORT: u16 = 4226; |
47 |
|
47 |
|
48 |
/// The number of milliseconds to wait for server startup. |
48 |
/// The number of milliseconds to wait for server startup. |
49 |
const SERVER_STARTUP_TIMEOUT_MS: u32 = 10000; |
49 |
const SERVER_STARTUP_TIMEOUT_MS: u32 = 30000; |
50 |
|
50 |
|
51 |
/// Get the port on which the server should listen. |
51 |
/// Get the port on which the server should listen. |
52 |
fn get_port() -> u16 { |
52 |
fn get_port() -> u16 { |