-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worker health check #289
Comments
While I implement this I'll make it part of a general health check query. This will provide data on the health of the server & worker publicly, and perhaps we can include more granular data on particular services (database, elasticsearch) but restricted to authorized admins. Makes sense to integrate the Nest Terminus package (https://docs.nestjs.com/recipes/terminus). It's well-documented and supports microservices (ie the worker process) out of the box, and should ready Vendure for use with Kubernetes. |
Note: wait for official Nest v7 compatibility of the Terminus module: nestjs/terminus#606 This means this feature will be deferred to a later minor release (as Nest v7 is due in the next minor) |
Is your feature request related to a problem? Please describe.
If the worker process is not running, certain operations (e.g. updating prod search index) will fail. This can be confusing as it is not immediately obvious why they fail, and could be a common source of frustration.
Describe the solution you'd like
Add a new query which tests the readiness of the worker process. In the Admin UI, run this on bootstrap and raise a warning if not available.
The text was updated successfully, but these errors were encountered: