settings-view forks too many instances of apm when using Update All to update packages #756
Comments
@lee-dohm Apologies; it's probably obvious but I didn't search for this before rushing out the door. :) I'll leave it to you which of these should be de-duped; for what it's worth I looked into this a bit and there is an apm process forked for each update, whether or not one uses Update All or clicks Update one at a time on multiple packages. I would like to have a global installation/update queue for packages; I could change this issue to suggest a more detailed solution if you'd like. |
I definitely think we should put a cap on this to prevent contention, like max 1 package updating per core. But I also agree with Raymond Chen regarding not worrying about using 100% CPU. |
@BinaryMuse Don't worry about it 😀 I'm glad someone is motivated to work on it. I just wanted you to have the full context. |
Note that I/O is more likely to be the limiting factor here instead of CPU. |
@BinaryMuse There is also the possibility of passing more than one package to apm. |
We should queue these up
The text was updated successfully, but these errors were encountered: