Skip to content

Conversation

@rootulp
Copy link
Collaborator

@rootulp rootulp commented Jan 9, 2026

Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

return &TxIndexConfig{
Indexer: "kv",
Indexer: "kv",
MaxSearchResults: 10000, // Default to 10000, matching DefaultMaxSearchResults in kv package
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use the constant directly?

// Use configured max search results, or default if not set (0)
maxResults := cfg.TxIndex.MaxSearchResults
if maxResults == 0 {
maxResults = 10000 // DefaultMaxSearchResults from kv package
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@rootulp rootulp marked this pull request as draft January 9, 2026 14:01
@rootulp
Copy link
Collaborator Author

rootulp commented Jan 9, 2026

Converting to draft b/c QuickNode still experienced OOMs even after disabling the endpoints that allow tx searches.

They stop experiencing OOMs after disabling the indexer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants