Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startLocalWorkers does not always start any workers #38

Open
travisleith opened this issue May 31, 2016 · 1 comment
Open

startLocalWorkers does not always start any workers #38

travisleith opened this issue May 31, 2016 · 1 comment

Comments

@travisleith
Copy link

The first time running this code

library(doRedis)
options('redis:num'=TRUE)
registerDoRedis('jobs')
startLocalWorkers(n=10, queue='jobs')
getDoParWorkers()

worked fine. But now every time I run it I get 0 local workers. I tried running the redis .msi and repairing redis, still get 0 workers. I am using Windows and I have this issue using MSOpenTech redis 2.8.2400 and 3.0.501

Incidentally, if I start a worker on a different machine and add it to the job queue above, it connects and start processing jobs. But it only works with redisWorker, not startLocalWorkers from the remote machine. My host machine is running R 3.2.4 and the remote machine is running 3.2.2

@bwlewis
Copy link
Owner

bwlewis commented Jun 1, 2016

Thanks, I'm trying to replicated it today on a Windows box. I'll let you know what I find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants