MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / inspector_request_timeout

Function inspector_request_timeout

packages/server/src/api/routes.rs:3808–3814  ·  view source on GitHub ↗
(method: &str)

Source from the content-addressed store, hash-verified

3806}
3807
3808fn inspector_request_timeout(method: &str) -> Duration {
3809 if method == "View.getHierarchy" {
3810 CONNECTED_INSPECTOR_HIERARCHY_TIMEOUT
3811 } else {
3812 Duration::from_secs(10)
3813 }
3814}
3815
3816async fn simulator_logs(
3817 State(state): State<AppState>,

Callers 2

inspector_direct_requestFunction · 0.85
query_inspector_sessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected