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

feat(LAB-2828): add guard for infinite loop in native video async import #1704

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BlueGrizzliBear
Copy link
Contributor

@BlueGrizzliBear BlueGrizzliBear commented Jun 7, 2024

Currently, for native video imports, the label-import has a version of the SDK which prevents infinite loop from :

  • -> backend appendManyFramesToDatasetAsynchronously
  • -> label-import
  • -> SDK append_many_to_dataset
  • -> backend appendManyAssets However

If the version was bumped to 2.156.0 or later, we would have had :

  • -> backend appendManyFramesToDatasetAsynchronously
  • -> label-import
  • -> SDK append_many_to_dataset
  • -> backend appendManyFramesToDatasetAsynchronously

This patch prevents this infinite loop from occurring.

@BlueGrizzliBear BlueGrizzliBear added the enhancement New feature or request label Jun 7, 2024
@BlueGrizzliBear BlueGrizzliBear self-assigned this Jun 7, 2024
Currently, for native video imports, the label-import has a version of the SDK which prevents
infinite loop from :
- -> backend appendManyFramesToDatasetAsynchronously
- -> label-import
- -> SDK append_many_to_dataset
- -> backend appendManyAssets
However, if the version was bumped to 2.156.0 or later, we would have had :
- -> backend appendManyFramesToDatasetAsynchronously
- -> label-import
- -> SDK append_many_to_dataset
- -> backend appendManyFramesToDatasetAsynchronously
This patch prevents this infinite loop from occuring.
@BlueGrizzliBear BlueGrizzliBear force-pushed the feature/lab-2828-aa-u-when-i-upload-a-video-i-see-a-notification-when-upload branch from c07fb1e to 2eaf755 Compare June 7, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants