server: Create a spare server object

Description Usage Arguments Value

Description

Create a spare server object

Usage

1
server(base_url, priority = 1, timeout = 1)

Arguments

base_url

Base URL of the server.

priority

Non-negative initial odds of using this server, it has no units. Note that a server with zero odds can be used if all other servers are down.

timeout

Timeout in seconds. After this time, we give up on the server.

Value

A spare server object


metacran/spareserver documentation built on May 22, 2019, 7:49 p.m.