You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will require some updates to the rpc infrastructure to separate out websockets and https, and also be able to introspect as to whether a websocket transport is available
The text was updated successfully, but these errors were encountered:
Description
Using websockets to replace the current polling algorithm would be more performant and cheaper.
ponder/packages/core/src/sync-realtime/index.ts
Lines 810 to 855 in afba4c3
Currently
enqueue
is used withsetInterval
, but should be swapped out with a websocket request, similar to https://viem.sh/docs/actions/public/watchBlocksOther notes
This will require some updates to the rpc infrastructure to separate out websockets and https, and also be able to introspect as to whether a websocket transport is available
The text was updated successfully, but these errors were encountered: