mirror of
https://github.com/luxfi/indexer.git
synced 2026-09-24 00:25:37 +00:00
fix: WebSocket OOM + I-Chain indexer RPC method
- chain/dag/evm subscribers: add 1024-client semaphore, 64KB read limit, 60s deadline, pong handler, default origin check (was open) - platform_indexer: identity.Health → identity.getLatestBlock
This commit is contained in:
@@ -386,7 +386,7 @@ func (idx *PlatformIndexer) fetchGraphBlock(ctx context.Context) error {
|
||||
// fetchIdentityBlock fetches blocks from I-Chain (Identity VM)
|
||||
func (idx *PlatformIndexer) fetchIdentityBlock(ctx context.Context) error {
|
||||
// I-Chain RPC methods: identity.getLatestBlock, identity.getIdentities
|
||||
block, err := idx.rpcCall(ctx, "identity.Health", nil)
|
||||
block, err := idx.rpcCall(ctx, "identity.getLatestBlock", nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user