healthchek mechanism based on DB connection
@netanelC is already working on this.
Since Jan 19, 2025.
Assessment
This issue has not been assessed yet.
Description
Service health check mechanism
Service that includes connection to DB should depend on his healthcheck interval checking based on DB connection
Good reference on how it should implemented:
based on auth-manager
const healthCheck = (connection: DataSource): HealthCheck => {
return async (): Promise<void> => {
const check = connection.query('SELECT 1').then(() => {
return;
});
return promiseTimeout<void>(DB_CONNECTION_TIMEOUT, check);
};
};
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MapColonies/config-server
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
MapColonies/config-server#99 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
MapColonies/config-server#61 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
MapColonies/config-server#55 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
MapColonies/config-server#53 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
MapColonies/config-server#52 ·
All issues in MapColonies/config-server
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
diegosouzapw/OmniRoute#14869 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
status: waiting triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
freeCodeCamp/freeCodeCamp#70412 ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability untriaged
Difficulty 1/5 Under an hour Newbie friendliness 88/100
opensearch-project/OpenSearch-Dashboards#12816 ·
Maintainers usually reply within 1 day