Last modified: 2013-06-10 14:46:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51370, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49370 - GitBlit: make the default filter briefer
GitBlit: make the default filter briefer
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-09 22:16 UTC by Ori Livneh
Modified: 2013-06-10 14:46 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ori Livneh 2013-06-09 22:16:03 UTC
The narrowest filter on GitBlit (14 days) pulls in too many commits: there are 1,473 commits listed on https://git.wikimedia.org/ presently, and they are represented in nearly two(!) glorious megabytes of HTML. This must be causing significant churn on the server, because it takes fully 8 seconds before it starts transmitting the response.
Comment 1 Ori Livneh 2013-06-09 22:43:09 UTC
This can be set in gitblit.properties, apparently:

  # The number of days to show on the activity page.
  # Value must exceed 0 else default of 14 is used
  # 
  # SINCE 0.8.0
  web.activityDuration = 14

I propose changing it to 1. If the past two weeks were typical, then that would mean the default view would show about a hundred commits, and that the HTML payload would be roughly 140k. You can test the usability of that view by manually browsing to https://git.wikimedia.org/?db=1.

We should also hide or completely disable other duration filters on the main page. The default set of filters (visible from the 'filters' menu at the top of the main page) includes a link to a 180-day view, which takes 30 megabytes and about 6 minutes to generate, and is marked no-cache.
Comment 2 Chad H. 2013-06-09 23:07:58 UTC
See https://gerrit.wikimedia.org/r/67642.
Comment 3 Chad H. 2013-06-10 14:46:35 UTC
I rolled back to gitblit 1.2.1 since the new landing page is unacceptably slow. Also merged the default activity filter to 1d.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links