summaryrefslogtreecommitdiffstats
path: root/hooks/commit-msg
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2012-10-23 16:35:39 -0700
committerDave Borowitz <dborowitz@google.com>2012-10-24 14:52:07 -0700
commitd947858325ae70ff9c0b2f463a9e8c4ffd00002a (patch)
treeedf33164dfdd829eae74244198f790629d2fabc8 /hooks/commit-msg
parent67700e9b90a38cc3719c818bc967153e8b7b429e (diff)
downloadgit-repo-d947858325ae70ff9c0b2f463a9e8c4ffd00002a.tar.gz
sync: Keep a moving average of last fetch times
Try to more accurately estimate which projects take the longest to sync by keeping an exponentially weighted moving average (a=0.5) of fetch times, rather than just recording the last observation. This should discount individual outliers (e.g. an unusually large project update) and hopefully allow truly slow repos to bubble to the top. Change-Id: I72b2508cb1266e8a19cf15b616d8a7fc08098cb3
Diffstat (limited to 'hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions