Files
danbooru/test/unit
evazion 41c6c882c2 search: refactor fast_count to return nil on timeout.
* Refactor fast_count to return nil instead of 1,000,000 if the exact count times out.
* Remove the estimate_post_counts and blank_tag_search_fast_count global config options.
* Replace the hardcoded post count estimates inside fast_count with a
  method that parses Postgres's estimated row count from EXPLAIN.

* /counts/posts.json:
** Remove the `raise_on_timeout` parameter.
** Add an `estimate_count=<true|false>` parameter.
** Return null instead of 1,000,000 if the exact count times out.
2020-05-07 21:02:22 -05:00
..
2020-03-21 21:07:35 -05:00
2020-04-21 00:32:52 -05:00
2020-03-21 21:07:35 -05:00
2020-03-20 18:03:00 -05:00
2020-03-21 21:07:35 -05:00
2020-04-21 00:31:16 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2020-02-23 17:52:38 -06:00
2020-04-06 14:13:22 -05:00