[workflows/create-artifact-worker/deviceconnect] Reconnection to nats doesn't work

Description

If we stop nats, workflows, create-artifact-worker and deviceconnect do not reconnect to it once it's available. Restarting the services fixes it.

Acceptance criteria:

  • Add reconnection logic to the services to make them resilient to nats restarts

Affects versions

None

Environment

None

Checklist

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Fix versions

Backlog

yes

Zendesk Support

Checklist

Created December 14, 2021 at 11:36 AM
Updated January 2, 2022 at 5:13 AM
Resolved January 2, 2022 at 5:13 AM