Bandwidth test: fix repeat tests failing, add a duration (1-60 s)
The server kept streaming (and holding the one-test lock) after the browser stopped reading, so the next test got a 409. The server now ends the stream at the chosen duration, the browser reads to the end, and a new test ends any earlier stream instead of being refused. Errors show in the cell. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
169a6154ab
commit
87b92f8332
4 changed files with 58 additions and 23 deletions
|
|
@ -81,6 +81,11 @@ a { color: var(--accent); }
|
|||
.more-toggle { display: flex; justify-content: center; margin: 10px 0 -8px; }
|
||||
#resources-toggle { border: 0; color: var(--muted); }
|
||||
#resources-toggle:hover { color: var(--text); }
|
||||
.bw-controls { display: flex; align-items: center; gap: 8px; }
|
||||
.bw-seconds { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: normal; color: var(--muted); }
|
||||
#bw-seconds { width: 56px; margin: 0; padding: 3px 6px; font-size: 13px; }
|
||||
.bw-detail { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 1em; }
|
||||
.bw-detail.error { color: var(--bad); }
|
||||
.meter-label { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 13px; margin-bottom: 4px; }
|
||||
.meter-label span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||
.bar { height: 8px; background: var(--bar); border-radius: 4px; overflow: hidden; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue