init_server
Connect to the redis server.
1 2 3 | init_server(redis.host = "localhost", redis.port = 6379,
redis.timeout = 2147483647L, redis.db.index = 1L,
redis.flush = FALSE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.