longer timeout in busqueda

This commit is contained in:
Roberto Alsina 2024-05-15 20:18:09 -03:00
parent 9283ee0a03
commit 3f1b41c316

View File

@ -130,7 +130,7 @@ class Handler
# }
if (body = request.body).nil?
query = {"p": "", "g": "", a: ""}
query = {"p": "", "g": "", "a": ""}
else
query = Hash(String, String).from_json(body)
end
@ -155,6 +155,7 @@ class Handler
if prefijo.nil? && year.nil?
# Global totals
# FIXME: SLOW
sql = %(
SELECT total::integer, nombre
FROM totales