Skip to content

Commit

Permalink
poll servo heat changes more often
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Jul 14, 2024
1 parent a9bbd77 commit 98edce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/heat-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function useHeatInfo (settings: Ref<ServoCurrentHeatInfoConfig | undefine

const servoPoll = useTimeoutPoll(() => {
servoCurrentHeatFetch.execute()
}, 10_000, { immediate: false })
}, 5_000, { immediate: false })

watch(() => settings.value, heatInfoConfig => {
// start by just disabling all polling
Expand Down

0 comments on commit 98edce2

Please sign in to comment.