Trips Report not work

andrii.worka year ago

Hello All.
I have question, after update to 5.12 I have trouble on Trips Report.
When I want see report period - Today or Yesterday all work, but when I choose This Week, Previous Week, This Month, Previous Month. Reports not work.
In logs I see only this information.

Today or Yesterday.

2024-02-20 15:14:30  INFO: user: 1, report: trips, from: 2024-02-20 00:00, to: 2024-02-20 23:59, devices: [3], groups: []

This Week, Previous Week, This Month, Previous Month.

2024-02-20 15:14:52  INFO: user: 1, report: trips, from: 2024-02-01 00:00, to: 2024-02-29 23:59, devices: [3], groups: []
Anton Tananaeva year ago

That's probably because of the fast reports. You can try increasing the threshold.

andrii.worka year ago

Thanks for answer!

Its this function?

report.fastThreshold
Anton Tananaeva year ago

That's not a function, but yes, that's the correct parameter.

andrii.worka year ago

I change but it's not work.

    <entry key='report.fastThreshold'>432000</entry>
Anton Tananaeva year ago

What report period are you requesting?

andrii.worka year ago

This Week, Previous Week, This Month, Previous Month.

<entry key='report.fastThreshold'>1000000</entry>

I set this, and its work! Thanks Anton.

Anton Tananaeva year ago

So previously you set the threshold to 5 days and tried doing a week or more? I don't understand how you expected it to work.

andrii.worka year ago

I thought this was the value in dots.
Its value in seconds?

report.fastThreshold
Anton Tananaeva year ago

Have you read the documentation?

https://www.traccar.org/configuration-file/

andrii.worka year ago

Read 2 minutes ago. Thanks =)

netluca110 months ago

Hello everyone, to better understand the value 864000 is it the time of a day?
And so if we want more just calculate 86400xG (number of days)
Right?