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

This commit is contained in:
natsoni committed 2024-05-05 15:24:03 +02:00
1 parent d0cba30543
commit f16afe20be
2 files changed
+2 -2

No files matched your search

+1 -1
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);