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

Use command_index when calling get_exec_batch_results #548

Merged
merged 8 commits into from
Jul 19, 2021

Conversation

filipgolem
Copy link
Contributor

No description provided.

@filipgolem filipgolem requested review from azawlocki and a team July 15, 2021 10:44
yapapi/rest/activity.py Outdated Show resolved Hide resolved
yapapi/rest/activity.py Outdated Show resolved Hide resolved
yapapi/rest/activity.py Outdated Show resolved Hide resolved
@filipgolem filipgolem requested a review from shadeofblue July 17, 2021 09:21
@@ -77,9 +77,9 @@ async def test_run_blender(
await all_sent.wait_for_result(timeout=120)
logger.info("All tasks sent")

await all_computed.wait_for_result(timeout=30)
await all_computed.wait_for_result(timeout=120)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this change is okay, the time between the moment the last task is sent and the moment the last task is computed should not be that long.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know, but it seems that sometimes it takes more than 30s to render the image and send it back. I had to run the test again multiple times without this change.

logger.info("All tasks sent")

await all_computed.wait_for_result(timeout=60)
await all_computed.wait_for_result(timeout=120)
Copy link
Contributor

Choose a reason for hiding this comment

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

See my comment for test_run_blender.py.

Copy link
Contributor

@azawlocki azawlocki left a comment

Choose a reason for hiding this comment

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

Looks good, though I'm not convinced about increasing some of the timeouts (that much).

@filipgolem filipgolem merged commit 9510f6f into master Jul 19, 2021
@filipgolem filipgolem deleted the improved-get-exec-batch-results branch July 19, 2021 10:33
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.

2 participants