Commit d1ca2ab0 authored by Jeromy Johnson's avatar Jeromy Johnson

change env var for bitswap

changed IPFS_TASK_WORKERS to IPFS_BITSWAP_TASK_WORKERS
parent 394bdee1
......@@ -14,7 +14,7 @@ import (
var TaskWorkerCount = 16
func init() {
twc := os.Getenv("IPFS_TASK_WORKERS")
twc := os.Getenv("IPFS_BITSWAP_TASK_WORKERS")
if twc != "" {
n, err := strconv.Atoi(twc)
if err != nil {
......@@ -24,7 +24,7 @@ func init() {
if n > 0 {
TaskWorkerCount = n
} else {
log.Errorf("Invalid value of '%d' for IPFS_TASK_WORKERS", n)
log.Errorf("Invalid value of '%d' for IPFS_BITSWAP_TASK_WORKERS", n)
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment