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

Task-api handle cannot_compute_task message #4992

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

maaktweluit
Copy link
Contributor

Missing check for RTM, added in this PR

@maaktweluit maaktweluit force-pushed the mwu/b0.22/task-api-can-not-compute branch from 93cf9dc to cdcba84 Compare December 12, 2019 15:05
@@ -996,7 +996,13 @@ def _finish_subtask(self, subtask: RequestedSubtask, op: SubtaskOp):
)
update_provider_efficacy(node_id, op)
if subtask_timeout is not None:
update_provider_efficiency(node_id, subtask_timeout, comp_time)
if comp_time:
Copy link
Contributor

@mfranciszkiewicz mfranciszkiewicz Dec 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point we have obtained computation time. Is this check here because it might be equal to 0 for some reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, it showed n error when it was 0.

This check was copied from the old task manager

@codecov
Copy link

codecov bot commented Dec 12, 2019

Codecov Report

Merging #4992 into b0.22 will decrease coverage by 0.03%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##            b0.22    #4992      +/-   ##
==========================================
- Coverage   90.12%   90.08%   -0.04%     
==========================================
  Files         233      233              
  Lines       21870    21873       +3     
==========================================
- Hits        19710    19705       -5     
- Misses       2160     2168       +8

Copy link

@Wiezzel Wiezzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mfranciszkiewicz mfranciszkiewicz merged commit c5166ad into b0.22 Dec 13, 2019
@mfranciszkiewicz mfranciszkiewicz deleted the mwu/b0.22/task-api-can-not-compute branch December 13, 2019 14:19
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