Skip to content

可以增加一个推送间隔的参数吗 #24

Answered by zdz
BaeKey asked this question in Q&A
Discussion options

You must be logged in to vote

这个不是服务器推送,是网页使用 js 定时拉取的,每隔2秒(2000ms)拉一次服务器数据,你觉得不合适的话可以自己修改

setInterval(uptime, 2000);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zdz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #23 on April 24, 2022 16:18.