frontend: reduce redraw rate to 20ms
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d8173cdace
commit
aa4d235c0c
|
@ -74,7 +74,7 @@ function App(): JSX.Element {
|
||||||
})();
|
})();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const updatePlayerPositionIntevalMillis = 30;
|
const updatePlayerPositionIntevalMillis = 20;
|
||||||
|
|
||||||
// setup player on first page load only:
|
// setup player on first page load only:
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue