mu-semtech / delta-notifier

Sends notifications about changes to interested mu.semte.ch microservices
0 stars 14 forks source link

handle down services #16

Open nbittich opened 1 year ago

nbittich commented 1 year ago

When a service is down delta notifier becomes really slow because of dns lookup on every changes. handle the case when a service is down by caching dns lookup. Not a great solution but I open the pr to keep a trace of this.

nvdk commented 1 year ago

this is a very welcome addition for local development, because often not all services are running. I'd recommend using something like https://www.npmjs.com/package/cacheable-lookup for the cache though