From 949aa26f522fd110936c7c9979af516db6a6c801 Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Mon, 28 Nov 2022 13:05:44 -0500 Subject: [PATCH] Make gen --- cmd/lotus-shed/mempool-stats.go | 3 +-- cmd/lotus-stats/main.go | 3 +-- documentation/en/cli-lotus-worker.md | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/lotus-shed/mempool-stats.go b/cmd/lotus-shed/mempool-stats.go index e8bc44388..ad26d8a54 100644 --- a/cmd/lotus-shed/mempool-stats.go +++ b/cmd/lotus-shed/mempool-stats.go @@ -6,8 +6,6 @@ import ( "sort" "time" - "golang.org/x/xerrors" - "contrib.go.opencensus.io/exporter/prometheus" "github.com/ipfs/go-cid" logging "github.com/ipfs/go-log/v2" @@ -15,6 +13,7 @@ import ( "go.opencensus.io/stats" "go.opencensus.io/stats/view" "go.opencensus.io/tag" + "golang.org/x/xerrors" "github.com/filecoin-project/go-address" "github.com/filecoin-project/go-state-types/builtin" diff --git a/cmd/lotus-stats/main.go b/cmd/lotus-stats/main.go index d82a6078f..1fbbfbf38 100644 --- a/cmd/lotus-stats/main.go +++ b/cmd/lotus-stats/main.go @@ -7,13 +7,12 @@ import ( "os" "time" - "golang.org/x/xerrors" - "contrib.go.opencensus.io/exporter/prometheus" logging "github.com/ipfs/go-log/v2" "github.com/urfave/cli/v2" "go.opencensus.io/stats" "go.opencensus.io/stats/view" + "golang.org/x/xerrors" "github.com/filecoin-project/go-state-types/abi" diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index 392534e80..5f76782a7 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -40,6 +40,7 @@ USAGE: OPTIONS: --addpiece enable addpiece (default: true) [$LOTUS_WORKER_ADDPIECE] --commit enable commit (32G sectors: all cores or GPUs, 128GiB Memory + 64GiB swap) (default: true) [$LOTUS_WORKER_COMMIT] + --http-server-timeout value (default: "3s") --listen value host address and port the worker api will listen on (default: "0.0.0.0:3456") [$LOTUS_WORKER_LISTEN] --name value custom worker name (default: hostname) [$LOTUS_WORKER_NAME] --no-default disable all default compute tasks, use the worker for storage/fetching only (default: false) [$LOTUS_WORKER_NO_DEFAULT]