Skip to content

Commit 95378f8

Browse files
committed
Bidirectional connection revmoed
1 parent 183c4c7 commit 95378f8

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

elevator_1_state.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
0
2-
255
1+
1
2+
1

elevator_2_state.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
0
2-
255
1+
2
2+
1

src/elevio/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn start_reconnection_service(elevator_system: Arc<ElevatorSystem>) {
5858

5959
// Try to establish bidirectional connection
6060
elevator_system.establish_bidirectional_connection(&peer_addr);
61-
elevator_system.establish_bidirectional_connection(&peer_addr_2);
61+
// elevator_system.establish_bidirectional_connection(&peer_addr_2);
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)