Skip to content

Commit

Permalink
update to use either .slaveRSOCK or .workRSOCK given changes to paral…
Browse files Browse the repository at this point in the history
…lel pkg
  • Loading branch information
paciorek committed Jun 25, 2021
1 parent c842259 commit 52900bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/future-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
args:
- sh
- -c
- "Rscript -e 'setup_kube()' && Rscript --default-packages=datasets,utils,grDevices,graphics,stats,methods -e 'parallel:::.slaveRSOCK()' MASTER=future-scheduler PORT={{ .Values.scheduler.RfuturePort }} OUT=/tmp/rworker.log SETUPTIMEOUT=2592000 TIMEOUT=2592000 XDR=TRUE"
- "Rscript -e 'setup_kube()' && Rscript --default-packages=datasets,utils,grDevices,graphics,stats,methods -e 'workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()' MASTER=future-scheduler PORT={{ .Values.scheduler.RfuturePort }} OUT=/tmp/rworker.log SETUPTIMEOUT=2592000 TIMEOUT=2592000 XDR=TRUE"
ports:
- containerPort: 8789
resources:
Expand Down

0 comments on commit 52900bf

Please sign in to comment.