| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| api | ||
| models | ||
| presenters | ||
| support | ||
| app_spec.rb | ||
| factories.rb | ||
| spec_helper.rb | ||
| unicode_shared_examples.rb |
By default, we currently allow a user to retrieve all responses from a thread, which is terrible from a performance standpoint. This change adds a default response size of 100, which was chosen to match typical production pagination parameters, and a response limit of 200. Given that responses can include children comments, 200 is still a large number, but far less disastrous than, say, getting 3000 responses, with all of their children comments. Both of these values are configurable, and can be overriden via environment variables.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| api | Loading commit data... | |
| models | Loading commit data... | |
| presenters | Loading commit data... | |
| support | Loading commit data... | |
| app_spec.rb | Loading commit data... | |
| factories.rb | Loading commit data... | |
| spec_helper.rb | Loading commit data... | |
| unicode_shared_examples.rb | Loading commit data... |