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
No known key found for this signature in database
GPG Key ID: C65917583181743B
2 changed files with 2 additions and 2 deletions

View File

@ -706,7 +706,7 @@ class BlocksRepository {
if (height !== null) { if (height !== null) {
query += ` WHERE blocks.height <= ${height}`; 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); const [rows]: any = await DB.query(query);

View File

@ -47,7 +47,7 @@ export class BlockFeesSubsidyGraphComponent implements OnInit {
chartInstance: any = undefined; chartInstance: any = undefined;
showFiat = false; showFiat = false;
dropdownOptions = []; dropdownOptions = [];
step = 20000; step = 10000;
includeAccelerations = false; includeAccelerations = false;
constructor( constructor(