pinax-network / substreams-sink-csv

Substreams Sink CSV
MIT License
1 stars 0 forks source link

Remove cursor after successful streaming #31

Open YaroShkvorets opened 7 months ago

YaroShkvorets commented 7 months ago

If your streaming ends successfully without issues, i.e. on a closed block range, starting streaming again with the same parameters makes the sink not do anything and close after inactivity_seconds.

We should clean up cursor file (or change cursor to DONE) so if the sink sees it it does not try to connect.