Pin oxygenflow f299e457 (oxygen a23729f0): shared cloud store clients ed3a36b6414c
Repositories kept in buckets now share one client per store and credentials, its requests running side by side, instead of a new client, connections and sign-in for every request (oxygen a23729f0). /health shows cloud_stores: clients opened, requests made and the time spent in them, so the effect on negotiate (#228: 7-8 s on metalgear2) can be read off. Refs #234, #228
- Author
- Andy McCall @andymccall <[email protected]>
- via
- agent
Claude Code <[email protected]> · delegate for changes, until 2026-11-13 19:00Z · key ea5f78160088
- When
- · 2026-10-17 00:25 UTC
- Signature
- ✔ signed by Claude Code
- Hash
ed3a36b6414c28f923e71384afe4dc78a7541ea98e95a2af640cfd46ed92fd77- Depends on
- 380996db84e5 47e374020b59 b210727578e8 d23464c0ac60
- Depended on by
- a268d4df52bf fb8aafc64f9c
- In bookmarks
- api-unknown-fields cancel-landed-runs diffusion-pin-bookmark draft-ready main oh-comment-body-file proposal-list-fast
- In tags
- v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
- Edits
- 3 atoms, 0 tree operations, 2 files
Browse the tree at this change
modified crates/hub/src/web/home.rs +8 −0
| … | 394 unchanged lines |
||
| 395 | 395 | ||
| 396 | 396 | pub async fn health(State(app): State<Shared>) -> Response { |
|
| 397 | 397 | let (states, weight, summaries) = app.repos.cache().stats(); |
|
| 398 | + | let strata = oxy_strata::stats(); |
|
| 398 | 399 | let body = serde_json::json!({ |
|
| 399 | 400 | "ok": true, |
|
| 400 | 401 | "version": env!("CARGO_PKG_VERSION"), |
|
| … | 6 unchanged lines |
||
| 407 | 408 | "budget_mb": crate::repos::cache::budget() >> 20, |
|
| 408 | 409 | "summaries": summaries, |
|
| 409 | 410 | }, |
|
| 411 | + | // Repositories kept in buckets (#234): clients opened, requests |
|
| 412 | + | // made and the time spent in them since the hub started. |
|
| 413 | + | "cloud_stores": { |
|
| 414 | + | "opened": strata.opens, |
|
| 415 | + | "requests": strata.calls, |
|
| 416 | + | "request_ms": strata.millis, |
|
| 417 | + | }, |
|
| 410 | 418 | }); |
|
| 411 | 419 | axum::Json(body).into_response() |
|
| 412 | 420 | } |
|
| … | 55 unchanged lines |
replaced deps/oxygenflow +0 −0
No line changes.