DLTcollab / dcurl

Hardware-accelerated Multi-threaded IOTA PoW, drop-in replacement for ccurl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote interface: Reconnect the broker when network fails

ajblane opened this issue · comments

When network exception occurs, remote worker and remote interface need to reconnect the RabbitMQ broker. For remote interface, it currently executes local PoW when network exception occurs. Therefore, we need to make remote interface firstly execute reconnection. It means that remote interface needs to do reconnection before it executes local PoW after network exception occurs. For remote worker, it only repeatedly reconnect the broker when network fails.