# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=container

### Changes to this config requires restart because it is used to initialize
### connection to the config system

## filedistributor rpc configuration
## TODO: Unused, remove in Vespa 9
filedistributor.configid reference default=""

## Is RPC server enabled?
rpc.enabled bool default=false restart

## RPC server listen port
rpc.port int default=8086 restart

## Which interface to bind to.
rpc.host string default="" restart

## The id this service should register itself with in slobrok
rpc.slobrokId string default="" restart

## A unique identifier string for this QRS. The only guarantee given is
## this string will be unique for every QRS in a Vespa application.
discriminator string default="qrserver.0" restart

## Cluster name
clustername string default=""

## Index of this container inside the cluster. Guaranteed to be non-negative
## and unique for every container in a cluster, but not necessarily contiguous
## or starting from zero.
nodeIndex int default=0

## Force restart of container on deploy, and defer any changes until restart
restartOnDeploy bool default=false restart

## Specifies under what circumstances restart on deploy should apply to internal redeployments
restartOnInternalRedeploy enum { always, node_changes, content_changes, never } default=never restart

## Force heapdump if process is not able to stop within shutdown.timeout
shutdown.dumpHeapOnTimeout bool default=false

## Timeout for clean shutdown
shutdown.timeout double default=50.0
