Commit graph

17 commits

Author SHA1 Message Date
Yorick Peterse
5371da341e
Remove event caching code
Flushing the events cache worked by updating a recent number of rows in
the "events" table. This has the result that on PostgreSQL a lot of dead
tuples are produced on a regular basis. This in turn means that
PostgreSQL will spend considerable amounts of time vacuuming this table.
This in turn can lead to an increase of database load.

For GitLab.com we measured the impact of not using events caching and
found no measurable increase in response timings. Meanwhile not flushing
the events cache lead to the "events" table having no more dead tuples
as now rows are only inserted into this table.

As a result of this we are hereby removing events caching as it does not
appear to help and only increases database load.

For more information see the following comment:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
2016-11-23 14:17:07 +01:00
Hannes Rosenögger
f16eabfc33 Display project icon from default branch
This commit makes sure that the project icon is
being read from the default branch instead of
'master'
2016-08-25 14:52:14 +02:00
Douwe Maan
8c3ba8d6c9 Add workhorse controller and API helpers 2016-06-06 13:16:30 +02:00
Douwe Maan
8db1292139 Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
Jacob Vosmaer
41bc9c463c Refactor caching code 2016-03-07 14:27:53 +01:00
Jacob Vosmaer
fc90d9e589 Tell clients/proxies to cache raw blob requests 2016-03-03 17:59:47 +01:00
Jacob Vosmaer
cf2c5396e0 Explain why we mangle blob content types 2016-02-24 11:53:30 +01:00
Jacob Vosmaer
b67f8eee0d Use @repository 2016-02-02 15:06:14 +01:00
Jacob Vosmaer
b2a634c352 Avoid trailing 'charset=' garbage 2016-02-01 12:01:13 +01:00
Jacob Vosmaer
02afa6793c Use only one header to send git blobs 2016-02-01 11:33:22 +01:00
Jacob Vosmaer
26d97ac5e1 Send more raw blob data with workhorse 2016-01-28 18:04:46 +01:00
Valery Sizov
8346dde052 Only render 404 page from /public 2015-10-13 20:12:34 +03:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Jeroen van Baarsen
5a4ebfb47a Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Dmitriy Zaporozhets
1da71cc520 Introduce shortcuts for routing helpers 2015-02-25 19:34:16 -08:00
Vinnie Okada
76aad9b76e Upgrade to Rails 4.1.9
Make the following changes to deal with new behavior in Rails 4.1.2:

* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Steven Thonus
42bac7f9f2 adding avatar to project settings page added avatar removal show project avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix 2015-01-24 18:51:16 +01:00