Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ ping
Method
ping
supervisor/client/src/lib.rs:144–146 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
142
}
143
144
pub async fn ping(&self) -> Result<String> {
145
self.http_get(
"/ping"
).await
146
}
147
148
pub async fn probe(&self, timeout: Duration) -> Result<()> {
149
let response = tokio::time::timeout(timeout, self.ping()).await;
Callers
2
main
Function · 0.80
probe
Method · 0.80
Calls
1
http_get
Method · 0.80
Tested by
no test coverage detected