change refresh rate of chat to 1s
This commit is contained in:
parent
bfdf18c1da
commit
6c57c3aaaf
@ -186,7 +186,7 @@ impl App for ChatApp {
|
|||||||
hx-get=\"/chat/message/{}?load={}&poll=true\" \
|
hx-get=\"/chat/message/{}?load={}&poll=true\" \
|
||||||
hx-target=\"this\" \
|
hx-target=\"this\" \
|
||||||
hx-swap=\"outerHTML\" \
|
hx-swap=\"outerHTML\" \
|
||||||
hx-trigger=\"every 100ms\"",
|
hx-trigger=\"every 1s\"",
|
||||||
msg_id,
|
msg_id,
|
||||||
load.unwrap_or(0)
|
load.unwrap_or(0)
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user