You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository is the central component of the Node, which every other service communicates with. It needs to be maintained by the supervisor, as an error with it needs to addressed and corrected ASAP for the Node to function properly.
✔️ Solution
The repository needs a service interface as defined in the services.go method start, that starts the repo and sends back the connection pool that's going to be used by the other services.
It needs to have a validation channel that triggers an error in case the service ever stops, for any reason, as without the repository, the Node cannot function and may arrive in an improper state. From this, it needs to be restart or the whole node shut down.
📈 Subtasks
Create repository service
Add it to the supervisor
The text was updated successfully, but these errors were encountered:
📚 Context
The repository is the central component of the Node, which every other service communicates with. It needs to be maintained by the supervisor, as an error with it needs to addressed and corrected ASAP for the Node to function properly.
✔️ Solution
The repository needs a service interface as defined in the
services.go
methodstart
, that starts the repo and sends back the connection pool that's going to be used by the other services.It needs to have a validation channel that triggers an error in case the service ever stops, for any reason, as without the repository, the Node cannot function and may arrive in an improper state. From this, it needs to be restart or the whole node shut down.
📈 Subtasks
The text was updated successfully, but these errors were encountered: