added gpu proving lotus-worker env vars

This commit is contained in:
Patrick Deuse 2022-07-12 21:36:32 +08:00
parent 8a0b25cfc1
commit 66a7e32e58

View File

@ -90,9 +90,10 @@ func main() {
Usage: fmt.Sprintf("Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON"), Usage: fmt.Sprintf("Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON"),
}, },
&cli.BoolFlag{ &cli.BoolFlag{
Name: "enable-gpu-proving", Name: "enable-gpu-proving",
Usage: "enable use of GPU for mining operations", Usage: "enable use of GPU for mining operations",
Value: true, Value: true,
EnvVars: []string{"LOTUS_WORKER_ENABLE_GPU_PROVING"},
}, },
}, },