Skip to content

Conversation

@suhlrich
Copy link
Collaborator

@suhlrich suhlrich commented Jun 6, 2025

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.

Copy link
Contributor

@carmichaelong carmichaelong left a 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.

Copy link
Member

@AlbertoCasasOrtiz AlbertoCasasOrtiz left a 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!

@carmichaelong
Copy link
Contributor

@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!

@suhlrich
Copy link
Collaborator Author

Great, Thanks! Will do this week likely.

@suhlrich suhlrich merged commit 92e75f0 into main Jun 12, 2025
1 check passed
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.

5 participants