crholliday / iota-prom-exporter

Iota Exporter for Prometheus Metrics
32 stars 5 forks source link

WS stops receiving from Bitfinex websocket causing breaks in service. #2

Closed crholliday closed 6 years ago

crholliday commented 6 years ago

This appears to happen at consistent intervals which causes the app to crash (intentionally). I currently rely on PM2 to restart but if you are not using PM2 you may get gaps in data as the app will be in a crashed state and not restarted.

crholliday commented 6 years ago

switched to https://github.com/pladaria/reconnecting-websocket and seems to have fixed the problem.