apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
168 stars 32 forks source link

sink-postgres: reconnect if client becomes disconnected #308

Closed fracek closed 6 months ago

fracek commented 6 months ago

sink-postgres: reconnect if client becomes disconnected

Summary When running for long periods of time (like in production), the client may disconnect from the server. This causes all queries to fail and the indexer to be stuck ~30m until it restarts. This commit ensures that the client is connected before executing a query.

release: sink-postgres

Summary sink-postgres: v0.5.1

fracek commented 6 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.