longer timeout in busqueda
This commit is contained in:
parent
9283ee0a03
commit
3f1b41c316
@ -130,7 +130,7 @@ class Handler
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
if (body = request.body).nil?
|
if (body = request.body).nil?
|
||||||
query = {"p": "", "g": "", a: ""}
|
query = {"p": "", "g": "", "a": ""}
|
||||||
else
|
else
|
||||||
query = Hash(String, String).from_json(body)
|
query = Hash(String, String).from_json(body)
|
||||||
end
|
end
|
||||||
@ -155,6 +155,7 @@ class Handler
|
|||||||
|
|
||||||
if prefijo.nil? && year.nil?
|
if prefijo.nil? && year.nil?
|
||||||
# Global totals
|
# Global totals
|
||||||
|
# FIXME: SLOW
|
||||||
sql = %(
|
sql = %(
|
||||||
SELECT total::integer, nombre
|
SELECT total::integer, nombre
|
||||||
FROM totales
|
FROM totales
|
||||||
|
Loading…
Reference in New Issue
Block a user