Skip to content
Snippets Groups Projects
  1. Jan 23, 2018
    • Jan Provaznik's avatar
      Use limit for search count queries · 090ca9c3
      Jan Provaznik authored
      Search query is especially slow if a user searches a generic string
      which matches many records, in such case search can take tens of
      seconds or time out. To speed up the search query, we search only for
      first 1000 records, if there is >1000 matching records we just display
      "1000+" instead of precise total count supposing that with such amount
      the exact count is not so important for the user.
      
      Because for issues even limited search was not fast enough, 2-phase
      approach is used for issues: first we use simpler/faster query to get
      all public issues, if this exceeds the limit, we just return the limit.
      If the amount of matching results is lower than limit, we re-run more
      complex search query (which includes also confidential issues).
      Re-running the complex query should be fast enough in such case because the
      amount of matching issues is lower than limit.
      
      Because exact total_count is now limited, this patch also switches to
      to "prev/next" pagination.
      
      Related #40540
      090ca9c3
  2. Mar 06, 2017
  3. Feb 21, 2017
  4. Sep 05, 2016
  5. May 04, 2016
  6. Apr 26, 2016
  7. Mar 02, 2016
  8. Mar 01, 2016
  9. Jan 13, 2016
  10. Aug 26, 2015
  11. Apr 28, 2015
  12. Feb 14, 2015
    • Vinnie Okada's avatar
      Upgrade to Rails 4.1.9 · 76aad9b7
      Vinnie Okada authored
      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.
      76aad9b7
  13. Sep 05, 2014
  14. Aug 29, 2014
  15. Aug 28, 2014
  16. Aug 27, 2014
  17. Jan 09, 2014
  18. Nov 06, 2013
Loading