mirror of
https://github.com/mempool/mempool.git
synced 2026-08-20 13:28:00 +02:00
Fix memory-intensive getCPFPUnindexedBlocks mysql query
This commit is contained in:
parent
da25577ea7
commit
5eae84bb75
1 changed files with 1 additions and 0 deletions
|
|
@ -748,6 +748,7 @@ class BlocksRepository {
|
|||
SELECT height
|
||||
FROM compact_cpfp_clusters
|
||||
WHERE height <= ? AND height >= ?
|
||||
GROUP BY height
|
||||
ORDER BY height DESC;
|
||||
`, [currentBlockHeight, minHeight]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue