-
Notifications
You must be signed in to change notification settings - Fork 8
[DO NOT MERGE UNTIL AFTER DIGITAL HEALTH DAY] mono queuing and queue index improvements #260
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
Conversation
Mono dequeue
fix n_cameras
dev: Reduce large django queries
Added isMono field in DB + logic behind it for dequeue and n cameras
… the past week in the dequeue view
carmichaelong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I tested end-to-end with the dev website and app with some new trials.
Since we're touching the DB, I'll ask @AlbertoCasasOrtiz to double check that this looks OK too.
AlbertoCasasOrtiz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just reviewed, everything seems ok!
|
@suhlrich We're all good from our end on the review. I think since the migration and merge should be coordinated in that order, please feel free to do both on your end whenever you think is a good time to do so. Thanks! |
|
Great, Thanks! Will do this week likely. |
We added an isMono field to Session and indexed it, facilitating more efficient dequeueing for mono or multi-camera backends.
We indexed updated-at and only search trials updated in the past week in dequeue (should help offload API CPU)
We tested both normal opencap and monocular pipelines with this, and they both work for both collection and backend. For now the monocular viewer is on a branch and is to be run locally until we release. This should not change the UX in the prod workflow for now.
We need to migrate the prod database as well. We can do this once someone reviews.