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:
2026-03-02 03:11:27 -07:00
parent 7d2c025b5b
commit b526b54c67
+1 -1
View File
@@ -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
}