-
Add a default response size and a response size limit. · 72816736
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.
Toby Lawrence committed
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
en-US.yml | Loading commit data... | |
x-test.yml | Loading commit data... |