commit | d947858325ae70ff9c0b2f463a9e8c4ffd00002a | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Oct 23 16:35:39 2012 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Wed Oct 24 14:52:07 2012 -0700 |
tree | edf33164dfdd829eae74244198f790629d2fabc8 | |
parent | 67700e9b90a38cc3719c818bc967153e8b7b429e [diff] |
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