mirror of https://github.com/telemt/telemt.git
Update direct_relay.rs
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
parent
83ed9065b0
commit
2a3b6b917f
|
|
@ -57,6 +57,7 @@ where
|
|||
|
||||
stats.increment_user_connects(user);
|
||||
stats.increment_user_curr_connects(user);
|
||||
stats.increment_current_connections_direct();
|
||||
|
||||
let relay_result = relay_bidirectional(
|
||||
client_reader,
|
||||
|
|
@ -69,6 +70,7 @@ where
|
|||
)
|
||||
.await;
|
||||
|
||||
stats.decrement_current_connections_direct();
|
||||
stats.decrement_user_curr_connects(user);
|
||||
|
||||
match &relay_result {
|
||||
|
|
|
|||
Loading…
Reference in New Issue