Skip to content

Hub Graceful Drain (seconds)

Key: qie.hubDrainSeconds

Env Var: QIE_HUBDRAINSECONDS

Default: 30

Scope: Global

Description: On shutdown, how long a Hub node reports not-ready (503 on the probe port) before releasing its tunnels and exiting, so the load balancer drains it and in-flight requests finish. Size the K8s terminationGracePeriodSeconds above this.

Examples

Env Var

QIE_HUBDRAINSECONDS=30

Java Option

-Dqie.hubDrainSeconds=30

YAML

QIE_HUBDRAINSECONDS: 30