-
Notifications
You must be signed in to change notification settings - Fork 43
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
['feature' request] Add a delay between iterations of each git repository's analyze()
method
#50
Comments
analyze()
methodanalyze()
method
…ork of `clustergit`; see mnagel/clustergit#50 for details) for improved reliability
Hi Chris, Glad you like clustergit! Patches are welcome! I suspect it will not work with githubs SSH/git server, but in general big batches of git commands can be speeded up using a SSH ControlMaster, see e.g. https://docs.rc.fas.harvard.edu/kb/using-ssh-controlmaster-for-single-sign-on/ Best Regards |
Hi Michael, Thank you! Your message made me realize that My initial testing shows that, with Let me give this setup of ssh config a shot for a week or so and get back to you! That being said, I've been using my local patch w/ Appreciate the response! I will follow up here.. Best, |
Hi @mnagel - happy new year! 🎉 So I've been using the ControlMaster solution you recommended for quite some time now, and it's been mostly successful (and, not required me to use my local change introducing the Best, |
Hi @mnagel ! 👋
I've been using this CLI for years now (since at least 2021, when I first contributed to
clustergit
: af79ab4) - loved it back then, and I still love it and use it daily!Context
For a while now, I've been encountering an 'undesired' behavior - specifically, I have a bunch of repos (order of magnitude in the hundreds) that I use this tool against, commonly fetching/pulling the latest changes, and most-commonly against GitHub-backed repositories. When I run
clustergit
, I've been encountering rate limiting from GitHub in the middle of fetching repos. So far, I've been bumping down--worker
, from the default of 4, to 2, now down to 1 - I'm still hitting GitHub rate limits (booo! 😞 )."Feature" request
What I'm looking for here is a 'feature' (in quotes, because I personally feel like this slightly flies in the face of this CLI's ability to do operations in many workers) to delay between iterations of the
analyze()
method.Testing
I've actually made this change to my local copy of
clustergit
(see diff below), and plan to test this over the next few weeks.Let me know your thoughts!
The text was updated successfully, but these errors were encountered: