server: Run orderly server

View source: R/server.R

serverR Documentation

Run orderly server

Description

Run orderly server

Usage

server(
  path,
  port,
  host = "0.0.0.0",
  go_signal = NULL,
  queue_id = NULL,
  workers = 1,
  backup_period = 600,
  timeout_rate_limit = 2 * 60,
  log_level = "info",
  identity = NULL
)

Arguments

path

Path to serve

port

Port to serve on

host

Optional

go_signal

If given, we poll for a file go_signal (within path) before starting. This is designed primarily for use with docker where the data volume may not be ready at the same time as the process container (and indeed won't be if the container is used to provision the volume). During this period the server will not respond to any http requests.

queue_id

ID of an existing queue to connect to, creates a new one if NULL

workers

Number of workers to spawn

backup_period

How frequently should backup be run, if NULL backup is skipped

timeout_rate_limit

How frequently should the API check for timeouts default 2 mins.

log_level

The "lgr" log level to use

identity

Optional server identity


vimc/orderly.server documentation built on July 27, 2023, 5:07 p.m.