property SelfRegistration.drainDelayMs

Milliseconds to keep serving after deregistering, before draining begins.

The point of the delay is propagation: callers that already hold a stale instance list keep sending traffic for a moment after the registry forgets this instance, and this window serves them normally instead of refusing.

Type

number

Usage

import { type SelfRegistration } from "service-discovery-plugin/src/index.ts";