enum tapi_haproxy_cfg_shards

Overview

Representation of possible frontend listener shards option value sources. More…

#include <tapi_haproxy_cfg.h>

enum tapi_haproxy_cfg_shards {
    TAPI_HAPROXY_CFG_SHARDS_NUMBER,
    TAPI_HAPROXY_CFG_SHARDS_BY_THREAD,
    TAPI_HAPROXY_CFG_SHARDS_BY_GROUP,
};

Detailed Documentation

Representation of possible frontend listener shards option value sources.

Enum Values

TAPI_HAPROXY_CFG_SHARDS_NUMBER

Set shards number manually.

TAPI_HAPROXY_CFG_SHARDS_BY_THREAD

Create as many shards as there are threads on the “bind” line.

TAPI_HAPROXY_CFG_SHARDS_BY_GROUP

Create one shard per thread group.