From dfbf4d0f43b3b34059baaa91538a23e510ea458a Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Tue, 29 Nov 2022 14:38:44 +0000 Subject: [PATCH] Bump http-server-timeout default to 30s --- cmd/lotus-fountain/main.go | 2 +- cmd/lotus-pcr/main.go | 2 +- cmd/lotus-shed/itestd.go | 2 +- cmd/lotus-shed/mempool-stats.go | 2 +- cmd/lotus-stats/main.go | 2 +- cmd/lotus-wallet/main.go | 2 +- cmd/lotus-worker/main.go | 2 +- documentation/en/cli-lotus-worker.md | 30 ++++++++++++++-------------- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index b3ad32fd2..780aef916 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -76,7 +76,7 @@ var runCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-pcr/main.go b/cmd/lotus-pcr/main.go index 833c4400b..57eaf0ad6 100644 --- a/cmd/lotus-pcr/main.go +++ b/cmd/lotus-pcr/main.go @@ -420,7 +420,7 @@ var runCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-shed/itestd.go b/cmd/lotus-shed/itestd.go index 424e15768..7b9b7460d 100644 --- a/cmd/lotus-shed/itestd.go +++ b/cmd/lotus-shed/itestd.go @@ -28,7 +28,7 @@ var itestdCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-shed/mempool-stats.go b/cmd/lotus-shed/mempool-stats.go index ad26d8a54..08aceb020 100644 --- a/cmd/lotus-shed/mempool-stats.go +++ b/cmd/lotus-shed/mempool-stats.go @@ -80,7 +80,7 @@ var mpoolStatsCmd = &cli.Command{ Flags: []cli.Flag{ &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-stats/main.go b/cmd/lotus-stats/main.go index 1fbbfbf38..20971c1f3 100644 --- a/cmd/lotus-stats/main.go +++ b/cmd/lotus-stats/main.go @@ -131,7 +131,7 @@ var runCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-wallet/main.go b/cmd/lotus-wallet/main.go index 893c8b2c6..8360dae15 100644 --- a/cmd/lotus-wallet/main.go +++ b/cmd/lotus-wallet/main.go @@ -145,7 +145,7 @@ var runCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Description: "Needs FULLNODE_API_INFO env-var to be set before running (see lotus-wallet --help for setup instructions)", diff --git a/cmd/lotus-worker/main.go b/cmd/lotus-worker/main.go index 847cce06f..074a6a3e5 100644 --- a/cmd/lotus-worker/main.go +++ b/cmd/lotus-worker/main.go @@ -274,7 +274,7 @@ var runCmd = &cli.Command{ }, &cli.StringFlag{ Name: "http-server-timeout", - Value: "3s", + Value: "30s", }, }, Before: func(cctx *cli.Context) error { diff --git a/documentation/en/cli-lotus-worker.md b/documentation/en/cli-lotus-worker.md index 5f76782a7..4c0695dab 100644 --- a/documentation/en/cli-lotus-worker.md +++ b/documentation/en/cli-lotus-worker.md @@ -26,7 +26,7 @@ GLOBAL OPTIONS: --miner-repo value, --storagerepo value Specify miner repo path. flag storagerepo and env LOTUS_STORAGE_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusminer") [$LOTUS_MINER_PATH, $LOTUS_STORAGE_PATH] --version, -v print the version (default: false) --worker-repo value, --workerrepo value Specify worker repo path. flag workerrepo and env WORKER_PATH are DEPRECATION, will REMOVE SOON (default: "~/.lotusworker") [$LOTUS_WORKER_PATH, $WORKER_PATH] - + ``` ## lotus-worker run @@ -40,7 +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") + --http-server-timeout value (default: "30s") --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] @@ -59,7 +59,7 @@ OPTIONS: --unseal enable unsealing (32G sectors: 1 core, 128GiB Memory) (default: true) [$LOTUS_WORKER_UNSEAL] --windowpost enable window post (default: false) [$LOTUS_WORKER_WINDOWPOST] --winningpost enable winning post (default: false) [$LOTUS_WORKER_WINNINGPOST] - + ``` ## lotus-worker stop @@ -72,7 +72,7 @@ USAGE: OPTIONS: --help, -h show help (default: false) - + ``` ## lotus-worker info @@ -85,7 +85,7 @@ USAGE: OPTIONS: --help, -h show help (default: false) - + ``` ## lotus-worker storage @@ -104,7 +104,7 @@ COMMANDS: OPTIONS: --help, -h show help (default: false) - + ``` ### lotus-worker storage attach @@ -123,7 +123,7 @@ OPTIONS: --seal (for init) use path for sealing (default: false) --store (for init) use path for long-term storage (default: false) --weight value (for init) path weight (default: 10) - + ``` ### lotus-worker storage detach @@ -136,7 +136,7 @@ USAGE: OPTIONS: --really-do-it (default: false) - + ``` ### lotus-worker storage redeclare @@ -151,7 +151,7 @@ OPTIONS: --all redeclare all storage paths (default: false) --drop-missing Drop index entries with missing files (default: false) --id value storage path ID - + ``` ## lotus-worker set @@ -164,7 +164,7 @@ USAGE: OPTIONS: --enabled enable/disable new task processing (default: true) - + ``` ## lotus-worker wait-quiet @@ -177,7 +177,7 @@ USAGE: OPTIONS: --help, -h show help (default: false) - + ``` ## lotus-worker resources @@ -191,7 +191,7 @@ USAGE: OPTIONS: --all print all resource envvars (default: false) --default print default resource envvars (default: false) - + ``` ## lotus-worker tasks @@ -209,7 +209,7 @@ COMMANDS: OPTIONS: --help, -h show help (default: false) - + ``` ### lotus-worker tasks enable @@ -222,7 +222,7 @@ USAGE: OPTIONS: --help, -h show help (default: false) - + ``` ### lotus-worker tasks disable @@ -235,5 +235,5 @@ USAGE: OPTIONS: --help, -h show help (default: false) - + ```