Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Store subtask budget in CompTaskKeeper #4972

Merged
merged 10 commits into from
Dec 9, 2019

Conversation

kmazurek
Copy link
Contributor

@kmazurek kmazurek commented Dec 5, 2019

Fixes: #4928

Changes the values stored in task keeper's active_task_offers from task_header.max_price to subtask budget. The budget is calculated according to the market strategy based on the task's class.

@kmazurek kmazurek self-assigned this Dec 5, 2019
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
golem/task/taskkeeper.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Dec 5, 2019

Codecov Report

Merging #4972 into b0.22 will decrease coverage by 0.04%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##            b0.22    #4972      +/-   ##
==========================================
- Coverage   90.15%   90.11%   -0.05%     
==========================================
  Files         233      233              
  Lines       21786    21788       +2     
==========================================
- Hits        19642    19634       -8     
- Misses       2144     2154      +10

@shadeofblue shadeofblue merged commit 6fff90d into b0.22 Dec 9, 2019
@etam etam deleted the fix/taskkeeper-receive-subtask branch December 9, 2019 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants