MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / ping

Method ping

nodedb-client/src/native/client/core.rs:95–98  ·  view source on GitHub ↗

Ping the server.

(&self)

Source from the content-addressed store, hash-verified

93
94 /// Ping the server.
95 pub async fn ping(&self) -> NodeDbResult<()> {
96 let mut conn = self.pool.acquire().await?;
97 conn.ping().await
98 }
99}
100
101/// Check if an error is a connection-level failure (worth retrying).

Callers 1

acquireMethod · 0.45

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected