config: Sane default parallel sector read defaults
This commit is contained in:
parent
ebd34f1884
commit
d95f24b9d2
@ -196,7 +196,7 @@ var runCmd = &cli.Command{
|
||||
&cli.IntFlag{
|
||||
Name: "post-parallel-reads",
|
||||
Usage: "maximum number of parallel challenge reads (0 = no limit)",
|
||||
Value: 0,
|
||||
Value: 128,
|
||||
},
|
||||
&cli.DurationFlag{
|
||||
Name: "post-read-timeout",
|
||||
|
@ -50,7 +50,7 @@ OPTIONS:
|
||||
--windowpost enable window post (default: false)
|
||||
--winningpost enable winning post (default: false)
|
||||
--parallel-fetch-limit value maximum fetch operations to run in parallel (default: 5)
|
||||
--post-parallel-reads value maximum number of parallel challenge reads (0 = no limit) (default: 0)
|
||||
--post-parallel-reads value maximum number of parallel challenge reads (0 = no limit) (default: 128)
|
||||
--post-read-timeout value time limit for reading PoSt challenges (0 = no limit) (default: 0s)
|
||||
--timeout value used when 'listen' is unspecified. must be a valid duration recognized by golang's time.ParseDuration function (default: "30m")
|
||||
--help, -h show help (default: false)
|
||||
|
@ -311,7 +311,7 @@
|
||||
#
|
||||
# type: int
|
||||
# env var: LOTUS_PROVING_PARALLELCHECKLIMIT
|
||||
#ParallelCheckLimit = 0
|
||||
#ParallelCheckLimit = 128
|
||||
|
||||
|
||||
[Sealing]
|
||||
|
@ -138,6 +138,10 @@ func DefaultStorageMiner() *StorageMiner {
|
||||
TerminateBatchWait: Duration(5 * time.Minute),
|
||||
},
|
||||
|
||||
Proving: ProvingConfig{
|
||||
ParallelCheckLimit: 128,
|
||||
},
|
||||
|
||||
Storage: SealerConfig{
|
||||
AllowAddPiece: true,
|
||||
AllowPreCommit1: true,
|
||||
|
Loading…
Reference in New Issue
Block a user