-
Notifications
You must be signed in to change notification settings - Fork 61
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
Implement PUT endpoint for allocations to adjust allocation on the go. #2598
Implement PUT endpoint for allocations to adjust allocation on the go. #2598
Comments
@cryptobench I can confirm that currently I will proceed with proceeding this ticket within CORE. However, I am just wondering if workaround is possible in Your scenario. Can You please verify if following workaround would work for your scenario?
Let us know if that works for You. Thx! |
Acceptance Criteria:
Additional Information:
Without Optional - probably 2-4 MD. |
Thank you for the reply. Sorry for not replying to the previous one - I forgot that. I consulted the workaround with the SDK and it was not trivial , so we do very much appreciate the effort Core puts into this PUT endpoint for allocations. |
Moved tests to separate ticket: #2770 |
In showcase we would like to be able to adjust our allocations on the go while our task is running. This would aid us in the issue of running out of budget.
Our goal with this endpoint is to loop over the current allocated budget and check our spendings and what's left in the budget. If it gets too low, then we will adjust the budget accordingly.
https://github.com/golemfactory/ya-client/blob/7840c32ecf0bc1b66b094b3a5df992f341f87a32/specs/payment-api.yaml#L605
The text was updated successfully, but these errors were encountered: