Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Throttle CPU usage properly when cloning #35

Open
rpowis opened this issue Mar 24, 2017 · 0 comments
Open

Throttle CPU usage properly when cloning #35

rpowis opened this issue Mar 24, 2017 · 0 comments

Comments

@rpowis
Copy link
Contributor

rpowis commented Mar 24, 2017

Problem

We can be a bit smarter about how we're throttling the CPU when cloning the repos. A quick fix was put in by #31 but it's using a number that doesn't have clear meaning as to why it was chosen.

Ideas

  • Track the upper/avg for the amount of memory each clone uses, before kicking off a new clone look at freemem to see if there's enough to perform another clone, if not poll freemem until we have enough
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant