-
Notifications
You must be signed in to change notification settings - Fork 372
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
Log collector should not fetch full goal state with extensions #2713
Changes from all commits
da72c37
59dbd22
633a826
14a743f
55e261a
908985e
8fc6471
3d370d0
d5bb016
2633959
b8d98a5
e578129
c642900
041dee3
cbfb6ad
05f4b79
dc2fe69
a8c5a7f
011fbef
b833735
d762a03
11f9c3a
212a72b
7805dc1
b1d21ea
c61a067
dd9d8da
7711ae2
3926b35
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -485,7 +485,7 @@ def _try_update_goal_state(self, protocol): | |
try: | ||
max_errors_to_log = 3 | ||
|
||
protocol.update_goal_state(silent=self._update_goal_state_error_count >= max_errors_to_log) | ||
protocol.client.update_goal_state(silent=self._update_goal_state_error_count >= max_errors_to_log) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @narrieta On line 430 in update.py we discussed changing It looks like we sleep until try_update_goal_state returns True for success.. Should we implement similar logic for reset_goal_state? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good point. i added a comment on _try_update_goal_state |
||
|
||
self._goal_state = protocol.get_goal_state() | ||
|
||
|
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.
I don't quite get the update_goal_state vs reset_goal_state. When do we use each of these?
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.
We're removing the force_update parameter and using reset_goal_state in all cases where force_update was True.
Reset will initialize the goal state instead of updating