Skip to content

Commit 2cf082a

Browse files
committed
lint
1 parent 8afedc7 commit 2cf082a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

console_backend/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ mod tests {
451451
let client_send = ClientSender::new(client_send_);
452452
let connection_state = ConnectionState::new(client_send.clone(), shared_state.clone());
453453
let filename = TEST_FILEPATH.to_string();
454-
let expected_duration = SERVER_STATE_CONNECTION_LOOP_TIMEOUT + Duration::from_millis(100);
454+
let expected_duration = Duration::from_secs(1);
455455
let handle = receive_thread(client_receive);
456456
assert!(!shared_state.app_state().is_running());
457457
{

console_backend/src/constants.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,5 +247,3 @@ pub(crate) const UNKNOWN_ERROR: &str = "Unk Error";
247247
pub(crate) const UNKNOWN_ERROR_SHORT: &str = "Unk";
248248
pub(crate) const ODO_POSTFIX: &str = "+Odo";
249249
pub(crate) const INS_POSTFIX: &str = "+INS";
250-
251-
pub(crate) const SERVER_STATE_CONNECTION_LOOP_TIMEOUT: Duration = Duration::from_secs(1);

0 commit comments

Comments
 (0)