-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: decode cached data for engine #6
Conversation
…nto feat/bin-refactor
crates/routing-engine/src/engine.rs
Outdated
} | ||
|
||
impl RoutingEngine { | ||
pub fn new(aas_client: AccountAggregationService) -> Self { | ||
pub fn new(aas_client: AccountAggregationService, buckets: Vec<BucketConfig>) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to accept &'config Vec<BucketConfig>
to prevent cloning later in get_cached_data
Unable to close the solver server, tried everything. Thinking to remove the graceful shutdown for now @ankurdubey521 |
I will take a look, if I'm not able to figure something out we remove it |
Updated engine to estimate the bucket and then get the cached value.
Issue ticket number and link
Checklist before requesting a review