aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-10 10:43:00 +0100
committerDanilo M. <danix@danix.xyz>2026-11-10 10:43:00 +0100
commit6ffa382c3f83e87da2e976868a9846f16ecc7321 (patch)
tree364a656cafd94717dec74f205913804b912fc40a
parentb4893a1d51763a81380d8cff35c393236c379ec5 (diff)
downloaddeck-it-6ffa382c3f83e87da2e976868a9846f16ecc7321.tar.gz
deck-it-6ffa382c3f83e87da2e976868a9846f16ecc7321.zip
feat(k1c): refresh the tab and camera every second
The camera snapshot reloads once per poll, so the 2s interval made it choppy. A skipped reload while one is still loading keeps a slow snapshot from piling up requests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--static/modules/k1c.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/modules/k1c.js b/static/modules/k1c.js
index e7d3ed1..4cd0358 100644
--- a/static/modules/k1c.js
+++ b/static/modules/k1c.js
@@ -89,7 +89,7 @@ function armHold(btn) {
export default {
title: "K1C",
tab: "K1C",
- interval: 2,
+ interval: 1,
mount(el) {
el.innerHTML = `<div class="k1c">