Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ serde_cbor = { version = "0.12.0-dev", package = "serde_cbor_2" }
serde_json = "1.0"
serde_urlencoded = "0.7"
sha-1 = "0.10"
sqlx = { version = "0.7", features = [
sqlx = { version = "0.7.4", features = [
"chrono",
"ipnetwork",
"runtime-tokio-native-tls",
Expand Down
3 changes: 2 additions & 1 deletion src/grpc/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ impl gateway_service_server::GatewayService for GatewayServer {
format!("Saving WireGuard peer stats to db failed: {err}"),
));
}
info!("Saved WireGuard peer stats to db: {stats:?}");
info!("Saved WireGuard peer stats to db.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpprian po co ten komentarz? Co wnosi. IMHO do wywalnia.

debug!("WireGuard peer stats: {stats:?}");
}
Ok(Response::new(()))
}
Expand Down
1 change: 1 addition & 0 deletions src/grpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ pub async fn run_grpc_bidi_stream(
tx.send(req).unwrap();
}
Err(err) => {
error!("Disconnected from proxy at {}", endpoint.uri());
error!("stream error: {err}");
debug!("waiting 10s to re-establish the connection");
sleep(TEN_SECS).await;
Expand Down