Skip to content

Commit

Permalink
Fix: prevent metrics flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Nov 14, 2023
1 parent edd8c2c commit da0a5ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/activity/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
// Poll for metrics
const interval = setInterval(async () => {
metrics = await requestMetrics()
const updatedMetrics = await requestMetrics()
metrics = updatedMetrics
}, 5000)
const workflowRuns = $workflowsStore.workflows
Expand Down

0 comments on commit da0a5ad

Please sign in to comment.