-
Notifications
You must be signed in to change notification settings - Fork 218
feat: moving cache sync timeout to controller level #1576
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
Conversation
@@ -133,4 +135,8 @@ public Stream<R> list(Predicate<R> predicate) { | |||
return cache.list(predicate); | |||
} | |||
|
|||
public void setControllerConfiguration(ControllerConfiguration<P> controllerConfiguration) { |
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.
This PR is missing some tests because if you remove this method, everything still builds fine and yet, the controllerConfiguration
is not properly initialized. And actually, this method is never called anywhere in the code.
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.
uhh, good catch, forgot t remove that, before it was used.
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.
removed.
(The InformerRelatedBehaviorITS
would fail if this would not work)
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.
Still not working right, though, because now the controllerConfiguration
is never set… So why even record it and pass it to initSources
?
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.
ahh yes, now that part is also cleaned up :)
this makes sense if there are multiple controlelrs, where this value might vary
669679d
to
e85f572
Compare
Kudos, SonarCloud Quality Gate passed! |
this makes sense if there are multiple controlelrs, where this value might vary