- 06 10月, 2016 3 次提交
-
-
由 Clement Ho 提交于
-
由 Fatih Acet 提交于
-
由 Fatih Acet 提交于
-
- 05 10月, 2016 37 次提交
-
-
由 Phil Hughes 提交于
Previously it was just replacing dashes which would remove the timezone offset causing the date to be invalid Closes #19600
-
由 Yorick Peterse 提交于
== Public Projects This finder class now _only_ returns public projects. Previously this finder would also return private and internal projects. Including these projects makes caching data much harder and less efficient. Meanwhile including this data isn't very useful as very few users would be interested in seeing projects they have access to as trending. That is, the feature is more useful when you want to see what _other_ popular projects there are. == Caching The data returned by TrendingProjectsFinder is now cached for a day based on the number of months the data should be restricted to. The cache is not flushed explicitly, instead it's rebuilt whenever it expires. == Timings To measure the impact I changed the finder code to use the last 24 months instead of the last month. I then executed and measured 10 requests to the explore page. On the current "master" branch (commit 88fa5916) this would take an average of 2.43 seconds. Using the changes of this commit this was reduced to around 1.7 seconds. Fixes gitlab-org/gitlab-ce#22164
-
由 Dimitrie Hoekstra 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
(also clean up a few global refs)
-
由 Yorick Peterse 提交于
This refactors Gitlab::Identifier so it uses fewer queries and is actually tested. Queries are reduced by caching the output as well as using 1 query (instead of 2) to find a user using an SSH key.
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
-
由 Bryce Johnson 提交于
(Removes opts destructuring and inheritance boilerplate)
-
由 Filipa Lacerda 提交于
-
由 barthc 提交于
-