Skip to content

Commit c842748

Browse files
author
rhamlett_microsoft
committed
Additional fixes to slow request testing.
1 parent c97be68 commit c842748

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/PerfProblemSimulator/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,6 @@ <h2>📜 Event Log</h2>
254254
<p>Last Update: <span id="lastUpdate">--</span></p>
255255
</footer>
256256

257-
<script src="js/dashboard.js"></script>
257+
<script src="js/dashboard.js?v=2"></script>
258258
</body>
259259
</html>

src/PerfProblemSimulator/wwwroot/js/dashboard.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,9 @@ function updateLatencyChart() {
689689
* This runs independently in the browser and won't be affected by server thread pool issues.
690690
*/
691691
function startClientProbe() {
692+
// Idempotency check: Don't start if already running
693+
if (state.isClientProbeRunning) return;
694+
692695
// Use a flag to track running state
693696
state.isClientProbeRunning = true;
694697

0 commit comments

Comments
 (0)