change refresh rate of chat to 1s

This commit is contained in:
Arkitu 2025-05-07 19:45:41 +02:00
parent bfdf18c1da
commit 6c57c3aaaf

View File

@ -186,7 +186,7 @@ impl App for ChatApp {
hx-get=\"/chat/message/{}?load={}&poll=true\" \
hx-target=\"this\" \
hx-swap=\"outerHTML\" \
hx-trigger=\"every 100ms\"",
hx-trigger=\"every 1s\"",
msg_id,
load.unwrap_or(0)
))