fix: chat lag

This commit is contained in:
cha0s 2020-12-13 15:41:26 -06:00
parent a97cbc2667
commit de52716bbb

View File

@ -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) {