buckaroo
buckaroo copied to clipboard
use mailbox-processor for expensive git operations
Just noticed that we sometimes fetch the same resource twice in parallel. As a result we half our bandwith and things take twice as long.
Running bash git --no-pager -C /home/gaetano/.buckaroo/cache/https-github-com-buckaroo-pm-boost-math-git-715040a9224ed40c fetch origin master:master
Running bash git --no-pager -C /home/gaetano/.buckaroo/cache/https-github-com-buckaroo-pm-boost-math-git-715040a9224ed40c fetch origin master:master
Note: commands like git.hasCommit must not be cached
Does this belong in GitCli or does it belong in a wrapper for IGit?
I think those operations need to be cached & sequenced regardless of the implementation. Maybe GitManager?