-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I tested the capability of the client in fork process under linux.
library(parallel)
redis <- redux::hiredis(host = "my-redis-host")
redis$AUTH(password)
tasks <- list(
task1 = mcparallel({
redis$HKEYS("test1")
}),
task2 = mcparallel({
redis$HSET("test1", "key1", format(rnorm(1)))
}),
task3 = mcparallel({
redis$HSET("test1", "key2", format(rnorm(1)))
})
)
result <- mccollect(tasks)
resultUnlike #19, in this case, the redis client could still work properly. Is there a guarantee that the client should work in this case due to some statelessness of the client?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels