change: refetch remaining once a minute

This commit is contained in:
Zynh Ludwig 2024-11-21 09:34:22 -08:00
parent 10cf09ee76
commit 1da83c0016

View file

@ -10,7 +10,7 @@
<div <div
class="link-wrapper" class="link-wrapper"
hx-get="/link/{{ id }}/remaining" hx-get="/link/{{ id }}/remaining"
hx-trigger="click from:#link delay:0.2s, every 10s" hx-trigger="click from:#link delay:0.2s, every 60s"
> >
{{ self::get_downloads_remaining_text(record) }} {{ self::get_downloads_remaining_text(record) }}
</div> </div>