NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Only resub on underlying sub error #201

Closed Hyodar closed 1 month ago

Hyodar commented 1 month ago

Some provider nodes simply don't answer unsubscribes timely, which makes this stall the log processing. This actually doesn't seem to be our fault - testing with self-hosted and local nodes works, but it is what it is. Instead, for now this makes it so we're only re-subbing logs on an actual underlying sub error and we can see how things behave.

Hyodar commented 1 month ago

I'm putting this on hold for now. On our node, unsubscribing works as intended, so we may want to do some extra analysis here for other providers.