You can increase the limit. Documentation should explain what the value means. As for specific numbers, that's up to you to decide depending on how you're using traccar.
I'm trying to find which devices have a fence created and I'm using this code, then this WARN appears. I have 180 devices.
useEffectAsync(async () => {
const verifyGetGeofences = async() => {
const verifyGeofences = await fetch(
`/api/geofences/?deviceId=${device?.id}`
);
if (verifyGeofences.ok) {
const data = await verifyGeofences.json();
if (data[0]?.attributes?.isFence === true) {
setIsFence(true);
} else {
setIsFence(false);
}
}
};
verifyGetGeofences();
return () => {};
}, []);
could you help me?
Well, you probably want to set it to 180 at least.
Thanks Anton, I had entered 99999 and the frontend was crashing.
Good morning Anton, I set parameter 180 and I'm still having failed to fetch in the frontend, sometimes I even need to restart the traccar, would there be a solution for this please? Thanks!
Greetings gentlemen.
Is there any way to agree this WARN in the logs? Does this affect anything on the performance of the front? It happens when an admin enters the tracker or when we update the map.
I saw that there is this parameter
<entry key='web.maxRequestsPerSec'>***</entry>
would this help to resolve it? What would be the value for this parameter? Thank you in advance