Update timeout for active user check.
This commit is contained in:
@@ -20,7 +20,7 @@ export default function ActiveUsers({ websiteId, className }) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
loadData();
|
loadData();
|
||||||
|
|
||||||
const id = setInterval(() => loadData(), 10000);
|
const id = setInterval(() => loadData(), 60000);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
clearInterval(id);
|
clearInterval(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user