Skip to content

Loopback 4 keep alive when datasource error #4358

@apV2V

Description

@apV2V

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions