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

Updates bulk messages PR, adding index working (less data passing) improvements #1643

Merged
merged 6 commits into from
Jan 22, 2025

Conversation

castaway
Copy link
Contributor

@castaway castaway commented Dec 19, 2024

On canvas update, fetch all in-view message contents at once (instead of one request per message), .. if not already in the cache. After fetching, update the index (to add the message contents to the index), for all the fetched messages at once, making less data exchanges between the two threads.

This should mean less busy threads and more prompt actions for users

@castaway castaway force-pushed the castaway/bulk_message_api_2 branch from e299c16 to d852bad Compare January 6, 2025 12:19
@castaway castaway force-pushed the castaway/bulk_message_api_2 branch from d852bad to 798ed9e Compare January 7, 2025 12:53
@castaway castaway force-pushed the castaway/bulk_message_api_2 branch from 798ed9e to 8c5c304 Compare January 7, 2025 15:40
@castaway castaway marked this pull request as ready for review January 7, 2025 15:53
@castaway castaway requested a review from shadowbas January 13, 2025 10:12
Copy link
Contributor

@shadowbas shadowbas left a comment

Choose a reason for hiding this comment

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

I like that you placed the message processing in its own method. The rest looks good.

@castaway castaway merged commit c1b3cb1 into runbox:master Jan 22, 2025
5 checks 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.

3 participants