When there are no filters, we can get the total todos count from the cached count on the user object, instead of performing a DB query. This query takes about 80ms for me on GitLab.com. |
||
|---|---|---|
| .. | ||
| application_controller.rb | ||
| groups_controller.rb | ||
| labels_controller.rb | ||
| milestones_controller.rb | ||
| projects_controller.rb | ||
| snippets_controller.rb | ||
| todos_controller.rb | ||