Dynamically compute additional search days - #3824
Conversation
t2gran
left a comment
There was a problem hiding this comment.
I am a bit unsure, but I think the additionalDays(Before|After)SearchTime can be simplified and improved - I think we forgot to question this when the new pattern index on running date was made.
I think we could have a parameter with max hours of travel duration, which could be loaded from the config, in a similar manner you originally proposed. |
t2gran
left a comment
There was a problem hiding this comment.
Sorry for being a bit hash and direct in my review here 🤒, but I just trying to explain what I think is important from a design perspective. I think we need to break thing apart, before we can assemble them into better encapsulated components later.
That's quite ok - it's what reviews are there for. How about we talk about how to resolve the deeper architectural problems (time zones) tomorrow's meeting? |
ac15e5e to
66aa175
Compare
|
I think we can merge this without the ability to configure the |
…equest.java Co-authored-by: Thomas Gran <t2gran@gmail.com>
f931a31 to
c98075a
Compare
3af54e6 to
9349593
Compare
Summary
In order to boost performance make it possible to configure the additional search days to consider when filtering the trips.
Issue
n/a
Unit tests
none
Code style
Yes.
Documentation
Javadoc updated.