A big slowdown for `get_account_history` call
time curl -s -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account":"gtg", "start":1000, "limit":10}, "id":1}' http://127.0.0.1:9999 > q.json
real 0m3,282s
user 0m0,008s
sys 0m0,000s
For raw SQL
SELECT *
FROM
hafah_python.ah_get_account_history(
hafah_python.numeric_to_bigint(NULL),
hafah_python.numeric_to_bigint(NULL),
'gtg',
1000,
10,
FALSE,
FALSE
)
we get the same time.
Details: localhost, 5mln replay.