Skip to content
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

Loopback 4 keep alive when datasource error #4358

Open
apV2V opened this issue Nov 23, 2022 · 0 comments
Open

Loopback 4 keep alive when datasource error #4358

apV2V opened this issue Nov 23, 2022 · 0 comments
Labels

Comments

@apV2V
Copy link

apV2V commented Nov 23, 2022

Hello,

I use Loopback 4 framework in my app service. In my app service I have a principal datasource and 2 more external datasources(SQL server). Sometimes the external datasources are not available and the app service crash when called an endpoint that use there. I cannot control when datasource are available or not.

All datasources have the property "lazyConnect", but this property don't works to this situation.

Is there a way to prevent the appservice crashing when this happens?

Thanks

@apV2V apV2V added the question label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant