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

[Mono Server] Slow Retrieval of Directory-Related Commit Information #617

Open
benjamin-747 opened this issue Sep 23, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request Hacktoberfest2024 refactoring

Comments

@benjamin-747
Copy link
Collaborator

The UI page needs to display commit information related to directories. However, the current process involves recursively traversing the commit history, which significantly impacts performance. An optimization solution is needed to speed up the retrieval of commit data without sacrificing accuracy.

related api: {{mega}}/api/v1/tree/commit-info?path=/third-part/mega

image
@benjamin-747 benjamin-747 added bug Something isn't working enhancement New feature or request refactoring labels Sep 23, 2024
@benjamin-747
Copy link
Collaborator Author

One possible approach could be to implement a lazy loading mechanism similar to GitHub’s, where commit information is loaded after directory.

@benjamin-747 benjamin-747 self-assigned this Sep 23, 2024
@genedna genedna added this to the 0.2.0 - Web UI milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request Hacktoberfest2024 refactoring
Projects
None yet
Development

No branches or pull requests

2 participants