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

ejira-update-my-projects should be asynchronous #51

Open
LeonardMH opened this issue Aug 23, 2022 · 1 comment
Open

ejira-update-my-projects should be asynchronous #51

LeonardMH opened this issue Aug 23, 2022 · 1 comment

Comments

@LeonardMH
Copy link

Running ejira-update-my-projects on a large Jira project completely consumes Emacs. One of the projects I work on has 20,000+ Jira issues, this command has been running for about 2.5 hours and isn't even 25% complete but Emacs has been unusable the whole time.

It would be a massive improvement if this update process could be done asynchronously so as to not block everything else Emacs is doing. Parallel execution would be a nice bonus since the Jira API is so slow, but I'm sure that's harder.

@nyyManni
Copy link
Owner

Thanks for the feedback.

I fully agree that for the sake of the user experience all the update commands should be asynchronous. That was something I considered when creating the jiralib2 library but left it for the future for simplicity's sake.

I currently do not have the free time to allocate for implementing it but will happily merge a pull request if someone else is willing to spend the effort.

For the time being, in your use case it could be beneficial to create a custom update function which would filter the issues based on the last modification date (I hope all 20k of the issues have not been touched within the last few months for example?)

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

No branches or pull requests

2 participants