Maximum speed in trips

ETSYSCDT4 days ago

Hello! Thanks for the excellent system. I have a problem: When I request today's trip report, it shows me yesterday's maximum speed, but when I request more days (week or month), none of them show the maximum speed. This information is very important to me. How can I include it for all trips? Thank you.

Anton Tananaev4 days ago

Max speed is not available for fast reports. By default the threshold for fast reports is 24 hours, but you can configure it.

ETSYSCDT4 days ago

I understand. How can I set this limit from 24 hours to 30 days? That would be very helpful, thank you!

ETSYSCDT4 days ago

I added <entry key='report.fastThreshold'>2592000</entry> to config, and I still don't see the maximum speed. Is this the setting you're referring to? Thanks

Anton Tananaev4 days ago

Yes, it is. Have you restarted the service?

ETSYSCDT4 days ago

Yes, I restarted. I'm testing if the 30-day trip works, but it overloads the server (100% CPU) and takes a long time. Is there another way to add the maximum speed to 30-day trips? Or how can I reduce the time with the settings we tried? Thanks!

Anton Tananaev4 days ago

it overloads the server (100% CPU) and takes a long time

That's why we have fast reports in the first place.

ETSYSCDT4 days ago

Sure, I understand. But is the maximum speed what "slows down" the report generation? For example, in a monthly summary, I won't know the maximum speed either. Just give me a clue where to look; it's vital information for me. Thanks!

Anton Tananaev4 days ago

To get maximum speed we would need to check every position in the given interval. That is slow.