Permalink
Browse files

Disabled version check for now

  • Loading branch information...
1 parent b1c06a0 commit 9a7386778a8fcdd81d0ade28a3230068259e6ba9 B. W. Lewis committed Jul 29, 2010
Showing with 10 additions and 9 deletions.
  1. +10 −9 R/redisWorker.R
  2. BIN inst/doc/doRedis.pdf
View
@@ -38,15 +38,16 @@
`.redisVersionCheck` <- function()
{
- vcheck <- TRUE
- tryCatch(
- {
- rv <- redisInfo()$redis_version
- rv <- strsplit(rv,'\\.')[[1]]
- vcheck <- vcheck && rv[[1]] >= 1
- vcheck <- vcheck && rv[[2]] >= 2
- }, error = function(e) vcheck <<- FALSE)
- if(!vcheck) stop("doRedis requires Redis >= 1.3.0")
+ return(TRUE)
+# vcheck <- TRUE
+# tryCatch(
+# {
+# rv <- redisInfo()$redis_version
+# rv <- strsplit(rv,'\\.')[[1]]
+# vcheck <- vcheck && rv[[1]] >= 1
+# vcheck <- vcheck && rv[[2]] >= 1
+# }, error = function(e) vcheck <<- FALSE)
+# if(!vcheck) stop("doRedis requires Redis >= 1.3.0")
}
`startLocalWorkers` <- function(n, queue, host="localhost", port=6379, iter=Inf, timeout=60, log=stderr(), Rbin=paste(R.home(component='bin'),"/R --slave",sep=""))
View
Binary file not shown.

0 comments on commit 9a73867

Please sign in to comment.