aboutsummaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-11 13:11:50 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-11 13:27:49 +0200
commit38f3f82a77ed4782a9c4e1b4e5a6d9d4c71390a2 (patch)
tree4a0d1c0a76f1e38562ad544f0fca5ce80cec32d6 /handler.c
parent59e17afe291f9df52d2334b92e88a889c2fe8f6a (diff)
downloadslcl-38f3f82a77ed4782a9c4e1b4e5a6d9d4c71390a2.tar.gz
Limit amount of search results
When a user enters a search term that is too generic, slcl would generate a long list of search results, where this generation could have a big impact on the server performance and its available resources. Therefore, it is reasonable to limit the number of search results to an arbitrary limit, so that users are forced to enter a more specific search term in order to achieve more relevant results.
Diffstat (limited to 'handler.c')
0 files changed, 0 insertions, 0 deletions