Update timeout for active user check.
parent
214049e077
commit
0b4fd3ef8f
|
@ -20,7 +20,7 @@ export default function ActiveUsers({ websiteId, className }) {
|
|||
useEffect(() => {
|
||||
loadData();
|
||||
|
||||
const id = setInterval(() => loadData(), 10000);
|
||||
const id = setInterval(() => loadData(), 60000);
|
||||
|
||||
return () => {
|
||||
clearInterval(id);
|
||||
|
|
Loading…
Reference in New Issue