Azure / AppConfiguration-JavaScriptProvider

The configuration provider for consuming data in Azure App Configuration from JavaScript applications like Node or browser apps.
https://github.com/Azure/AppConfiguration
MIT License
7 stars 2 forks source link

Add error handling delay in load function #35

Closed Eskibear closed 9 months ago

Eskibear commented 9 months ago

load() method is called in the application's startup code path. Unhandled exceptions cause application crash which can result in crash loops as orchestrators attempt to restart the application. Knowing the intended usage of the provider in startup code path, we mitigate back-to-back crash loops from overloading the server with requests by waiting a minimum time to propagate fatal errors.