fix: chat lag
This commit is contained in:
parent
a97cbc2667
commit
de52716bbb
|
@ -35,7 +35,7 @@ export default function Chat() {
|
|||
setActivity(await socket.send(['Activity']));
|
||||
}, 2000, {leading: true});
|
||||
if (!channel) {
|
||||
handle = setInterval(load, 300);
|
||||
handle = setInterval(load, 20);
|
||||
}
|
||||
return () => {
|
||||
if (handle) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user