about summary refs log tree commit diff
path: root/app/validators/html_validator.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-03-12 23:06:43 +0100
committerGitHub <noreply@github.com>2020-03-12 23:06:43 +0100
commitcb12a2cdd3fbe2c07a556610596a2de5446b1f50 (patch)
tree4846ed2341da972c5c172866e430cae8938313b1 /app/validators/html_validator.rb
parentbea0bb39d6c1762c97da484ffa8b5d73341e67e2 (diff)
Fix some timeouts when searching URLs by limiting some database queries (#13253)
Only look up private toots from database if the request failed because of 401,
403 or 404 errors, as those may indicate a private toot, rather than something
that isn't a toot or cannot be processed.
Diffstat (limited to 'app/validators/html_validator.rb')
0 files changed, 0 insertions, 0 deletions