wait_worker
Listen to a specific port for workers and assign the first job in job queue if the worker asks a job.
1 2 3 | wait_worker(path = NULL, shared_secret = "default",
terminate = TRUE, is_start = FALSE,
is_clear_job_finish = FALSE, ping.time.gap = 10L)
|
path |
string, ex: "tcp://*:12345" |
shared_secret |
string, a secret shares with workers |
terminate |
logical, whether terminate worker after the job-queue is cleared |
is_start |
logical, check if the hash value of job under execution is empty or not |
is_clear_job_finish |
logical, whether clear the list of finished job or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.