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

Migrate totalSpace to IO Thread #4061

Merged

Conversation

CalebKL
Copy link
Contributor

@CalebKL CalebKL commented Nov 7, 2024

Fixes #4038

This PR, moves totalSpace to the IO Thread and removes runBlocking which was blocking the main thread.

Screenshots

@kelson42
Copy link
Collaborator

@CalebKL Ready to review?

@CalebKL CalebKL force-pushed the caleb/task/migrate-total-space-to-io-thread branch from af58544 to a71bc12 Compare November 12, 2024 09:28
@CalebKL
Copy link
Contributor Author

CalebKL commented Nov 12, 2024

@CalebKL Ready to review?

Yes. I have already talked to @MohitMaliFtechiz.
I will proceed with the other tasks from #4035.
@MohitMaliFtechiz I had accidentally committed the old and new string(tarask) thats why I had to roll back and force-push without the strings.
Apart from that, the PR is a go for review.

@MohitMaliFtechiz MohitMaliFtechiz self-requested a review November 12, 2024 12:27
@MohitMaliFtechiz
Copy link
Collaborator

@CalebKL Thanks, i will review it soon.

Copy link
Collaborator

@MohitMaliFtechiz MohitMaliFtechiz left a comment

Choose a reason for hiding this comment

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

@CalebKL Please rebase, and resolve the conflicts, and see the review comments.

.idea/codeStyles/Project.xml Outdated Show resolved Hide resolved
Copy link
Collaborator

@MohitMaliFtechiz MohitMaliFtechiz left a comment

Choose a reason for hiding this comment

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

@CalebKL Thanks, LGTM. @kelson42 Once CI passes we can merge.

@MohitMaliFtechiz
Copy link
Collaborator

@CalebKL Please resolve the conflicts by rebasing the PR. There are some conflicts due to merge commits.

Screenshot from 2024-12-05 18-58-20

@CalebKL CalebKL force-pushed the caleb/task/migrate-total-space-to-io-thread branch from af1a17a to a43ab91 Compare December 5, 2024 18:06
@kelson42 kelson42 force-pushed the caleb/task/migrate-total-space-to-io-thread branch from a23c2bb to 63e3513 Compare December 8, 2024 07:44
@kelson42 kelson42 merged commit 9c8826e into kiwix:main Dec 8, 2024
19 of 20 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.

Move totalSpace() method to IO thread
3 participants