Skip to content
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

Fix the production of indefinite charging tasks #100

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Nov 10, 2023

Even though we added the set_indefinite(bool) method to the charge task factory, it wasn't actually being used (whoops).

This PR makes sure that indefinite charging tasks are produced by the factory when the user has requested it.

Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
@mxgrey
Copy link
Contributor Author

mxgrey commented Nov 10, 2023

Note that I am not proud of the way that I implemented the fix, but any other approach would have compromised API or ABI stability. I think the current state of the API has accumulated a considerable number of design missteps that can't be fixed without a new major revision, and I'm going to save that for our next generation work.

@mxgrey mxgrey merged commit 8a4dbce into main Nov 21, 2023
5 checks passed
@mxgrey mxgrey deleted the fix_indefinite_charge_factory branch November 21, 2023 15:26
mxgrey added a commit that referenced this pull request Dec 12, 2023
Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
mxgrey added a commit that referenced this pull request Dec 15, 2023
Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant