aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+layout.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-31 13:31:05 -0700
committerAdam Soltys <[email protected]>2022-10-31 13:31:05 -0700
commit61fb616ff75b6c117b153b28fca937a0eafe26be (patch)
tree35cb48d4487c78c86f0b72f2d628a38252aaa24c /src/routes/+layout.svelte
parent8d90bfd0b4f35c91c6a2a57db63317510569050a (diff)
downloadcoinos-ui-61fb616ff75b6c117b153b28fca937a0eafe26be.tar.gz
coinos-ui-61fb616ff75b6c117b153b28fca937a0eafe26be.zip
set max height on scanner
Diffstat (limited to 'src/routes/+layout.svelte')
-rw-r--r--src/routes/+layout.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 11562264..730557a7 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -44,7 +44,7 @@
lost = Date.now() - $last > 10000;
if (lost) connect(token);
send('heartbeat');
- timer = setTimeout(count, 5000);
+ timer = setTimeout(count, 500);
};
onDestroy(() => browser && clearTimeout(timer));