File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ impl<S> From<crate::Router<S>> for IntoAxum<S> {
4040 Self {
4141 router,
4242 task_set : Default :: default ( ) ,
43- rx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
44- tx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
43+ rx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
44+ tx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
4545 }
4646 }
4747}
@@ -52,8 +52,8 @@ impl<S> IntoAxum<S> {
5252 Self {
5353 router,
5454 task_set : handle. into ( ) ,
55- rx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
56- tx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
55+ rx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
56+ tx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
5757 }
5858 }
5959}
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ impl ConnectionManager {
8484 next_id : AtomicU64 :: new ( 0 ) . into ( ) ,
8585 router,
8686 notification_buffer_per_task : DEFAULT_NOTIFICATION_BUFFER_PER_CLIENT ,
87- tx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
88- rx_msg_id : Arc :: new ( AtomicU32 :: new ( 0 ) ) ,
87+ tx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
88+ rx_msg_id : Arc :: new ( AtomicU32 :: new ( 1 ) ) ,
8989 }
9090 }
9191
You can’t perform that action at this time.
0 commit comments