TYK_GW_GRACEFUL_SHUTDOWN_TIMEOUT_DURATION
):
Parameter | Type | Description |
---|---|---|
graceful_shutdown_timeout_duration | integer | The number of seconds Tyk will wait for existing connections to complete before forcing termination. Default: 30 seconds. |
SIGTERM
: Sent by container orchestrators like Kubernetes
SIGQUIT
: Manual quit signal
SIGINT
: Interrupt signal (Ctrl+C)
SIGKILL
signal, but will stop immediately.TYK_PMP_PURGEDELAY
):
Parameter | Type | Description |
---|---|---|
purge_delay | integer | The number of seconds between each purge loop execution. This also affects the graceful shutdown timing as Tyk Pump will complete the current purge cycle before shutting down. Default: 10 seconds. |
SIGTERM
: Sent by container orchestrators like Kubernetes
SIGINT
: Interrupt signal (Ctrl+C)
SIGKILL
signal, but will stop immediately.ElasticSearch
dogstatd
Influx2
purge_delay
for your workloads: A shorter purge delay means more frequent processing but also faster shutdown. For high-volume environments, finding the right balance is important.