- 21 10月, 2015 2 次提交
-
-
由 Artem V. Navrotskiy 提交于
-
由 Douwe Maan 提交于
-
- 20 10月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 14 10月, 2015 2 次提交
-
-
由 Valery Sizov 提交于
-
由 Kamil Trzcinski 提交于
-
- 08 10月, 2015 1 次提交
-
-
由 Yorick Peterse 提交于
By using a JOIN we can remove the need for using 2 separate queries to find a project by its namespace. Combined with an index (only needed for PostgreSQL) this reduces the query time from ~245 ms (~520 ms for the first call) down to roughly 10 ms (~15 ms for the first call).
-
- 06 10月, 2015 1 次提交
-
-
由 Yorick Peterse 提交于
This changes the query to use a COUNT nested in an INNER JOIN, instead of a COUNT plus a GROUP BY. There are two reasons for this: 1. Using a COUNT in an INNER JOIN can be quite a bit faster. 2. The use of a GROUP BY means that method calls such as "any?" (and everything else that calls "count") operate on a Hash that counts the amount of notes on a per project basis, instead of just counting the total amount of projects. The query has been moved into Project.trending as its logic is simple enough. As a result of this testing the TrendingProjectsFinder class simply involves testing if the right methods are called, removing the need for setting up database records.
-
- 05 10月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 03 10月, 2015 1 次提交
-
-
由 Guilherme Garnier 提交于
-
- 02 10月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 01 10月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 29 9月, 2015 6 次提交
-
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
由 Kamil Trzcinski 提交于
-
- 25 9月, 2015 2 次提交
-
-
由 Stan Hu 提交于
-
由 Stan Hu 提交于
A race condition existed between when Rails committed the `import_status` to `started` and when the Sidekiq worker forked a project. If this fork was quick, it's possible that the worker would attempt to move into the `finished` state before the `started` state took effect. As mentioned in https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#cannot-find-modelname-with-id12345, we should delay the worker to ensure the DB has a chance to update. Closes #2736
-
- 23 9月, 2015 3 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 19 9月, 2015 1 次提交
-
-
由 Kamil Trzcinski 提交于
-
- 18 9月, 2015 1 次提交
-
-
由 Francesco Levorato 提交于
-
- 16 9月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 11 9月, 2015 1 次提交
-
-
由 Stan Hu 提交于
Use import_status to track async import status and give feedback to the user Closes #2388 Closes #2400
-
- 09 9月, 2015 1 次提交
-
-
由 Jared Szechy 提交于
-
- 03 9月, 2015 1 次提交
-
-
由 Valery Sizov 提交于
-
- 02 9月, 2015 1 次提交
-
-
由 Kirilll Zaitsev 提交于
-
- 26 8月, 2015 1 次提交
-
-
由 Douwe Maan 提交于
-
- 19 8月, 2015 1 次提交
-
-
由 Artem Sidorenko 提交于
Resolves #9285
-
- 11 8月, 2015 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 5daf44b7, reversing changes made to 2f706fbd.
-
由 Dmitriy Zaporozhets 提交于
This reverts commit 957e849f, reversing changes made to 6b9dbe9f. Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 03 8月, 2015 1 次提交
-
-
由 Atsushi Ishida 提交于
-
- 30 7月, 2015 3 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
由 Stan Hu 提交于
Add gitlab-shell to error message to give user a clue that something may be wrong there. Ran into this in #2082. User was told that repositories were created when they were not due to hooks symlink being wrong.
-
- 29 7月, 2015 2 次提交
-
-
由 Douwe Maan 提交于
-
由 Douwe Maan 提交于
-
- 17 7月, 2015 1 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-