Update data length limit in fees bar chart to 10k blocks at once

This commit is contained in:
natsoni
2024-05-05 15:24:03 +02:00
parent d0cba30543
commit f16afe20be
2 changed files with 2 additions and 2 deletions

View File

@@ -706,7 +706,7 @@ class BlocksRepository {
if (height !== null) {
query += ` WHERE blocks.height <= ${height}`;
}
query += ` ORDER BY blocks.height DESC LIMIT 20000`;
query += ` ORDER BY blocks.height DESC LIMIT 10000`;
const [rows]: any = await DB.query(query);