iotagent-ul
iotagent-ul copied to clipboard
Iotagent-ul not reconnecting mongodb
Hi everybody
When the DB server shuts down, then it is turned on. However, Iotagent-ul does not reconnect itself.
What mongodb options are in your config.js? Did you tried with something like:
mongodb: {
host: '127.0.0.1',
port: 27017,
db: 'iotagent-ul',
replicaSet: '',
retries: 5,
retryTime: 5
},
Retires and retryTime are important to achieve that.