init_server: init_server Connect to the redis server.

Description Usage Arguments

View source: R/utility.R

Description

init_server

Connect to the redis server.

Usage

1
2
3
  init_server(redis.host = "localhost", redis.port = 6379,
    redis.timeout = 2147483647L, redis.db.index = 1L,
    redis.flush = FALSE)

Arguments

redis.host

string, the location of redis.host

redis.port

int, the port

redis.timeout

int, time(second) of timeout.

redis.db.index

int, the index of redis server used to maintain the job queue

redis.flush

logical, whether clear the index ofredis server or not


wush978/RzmqJobQueue documentation built on May 4, 2019, 12:02 p.m.