View Source Cosmox.Configuration (Cosmox v0.1.0)

Gets the configuration values from the configuration files. The configuration will be built in at compile time.

Link to this section Summary

Functions

Helper to get the db configuration.

Gets the CosmosDB database host.

Gets the CosmosDB database primary key.

Gets the number of concurrent clients to call CosmosDB REST API.

Link to this section Functions

@spec get_cosmos_db_config() :: {binary(), binary()}

Helper to get the db configuration.

@spec get_cosmos_db_host() :: binary()

Gets the CosmosDB database host.

@spec get_cosmos_db_key() :: binary()

Gets the CosmosDB database primary key.

Link to this function

get_http_client_pool_size()

View Source
@spec get_http_client_pool_size() :: non_neg_integer()

Gets the number of concurrent clients to call CosmosDB REST API.