]> source.dussan.org Git - jgit.git/commit
PackWriter: Report more stats during partial writes 83/32883/1
authorShawn Pearce <sop@google.com>
Thu, 4 Sep 2014 19:41:24 +0000 (12:41 -0700)
committerShawn Pearce <sop@google.com>
Thu, 4 Sep 2014 19:45:18 +0000 (12:45 -0700)
commitbc90ce7788e77af11552799cecf65edeb97e3b7c
treeb19ae3a0bc4483f07d9065bd9998fa01a423a85c
parent2475d95374d28c7df4ac12baef22090da4f409ba
PackWriter: Report more stats during partial writes

It can be useful for a server operator to know how long a pack
writer spent writing out objects, even if the request aborts and
never finishes.

Record more of the stats data inside of a finally block, to
ensure these can be included into the server's monitoring.

Change-Id: I00858aa393a948f8e742e64ae4c00953eadaef95
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java