mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-22 19:19:09 +00:00
cli: take care of upload-bin
defaults
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
9189b3eb7d
commit
0bb6c6e6bd
1 changed files with 10 additions and 10 deletions
|
@ -57,16 +57,16 @@ func NewCommands() []*cli.Command {
|
||||||
Action: cmdargs.EnsureNotEmpty("container"),
|
Action: cmdargs.EnsureNotEmpty("container"),
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "block-attribute",
|
Name: "block-attribute",
|
||||||
Usage: "Attribute key of the block object",
|
Usage: "Attribute key of the block object",
|
||||||
Required: true,
|
Value: neofs.DefaultBlockAttribute,
|
||||||
Action: cmdargs.EnsureNotEmpty("block-attribute"),
|
Action: cmdargs.EnsureNotEmpty("block-attribute"),
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "index-attribute",
|
Name: "index-attribute",
|
||||||
Usage: "Attribute key of the index file object",
|
Usage: "Attribute key of the index file object",
|
||||||
Required: true,
|
Value: neofs.DefaultIndexFileAttribute,
|
||||||
Action: cmdargs.EnsureNotEmpty("index-attribute"),
|
Action: cmdargs.EnsureNotEmpty("index-attribute"),
|
||||||
},
|
},
|
||||||
&flags.AddressFlag{
|
&flags.AddressFlag{
|
||||||
Name: "address",
|
Name: "address",
|
||||||
|
@ -80,12 +80,12 @@ func NewCommands() []*cli.Command {
|
||||||
&cli.UintFlag{
|
&cli.UintFlag{
|
||||||
Name: "workers",
|
Name: "workers",
|
||||||
Usage: "Number of workers to fetch and upload blocks concurrently",
|
Usage: "Number of workers to fetch and upload blocks concurrently",
|
||||||
Value: 50,
|
Value: 20,
|
||||||
},
|
},
|
||||||
&cli.UintFlag{
|
&cli.UintFlag{
|
||||||
Name: "searchers",
|
Name: "searchers",
|
||||||
Usage: "Number of concurrent searches for blocks",
|
Usage: "Number of concurrent searches for blocks",
|
||||||
Value: 20,
|
Value: 100,
|
||||||
},
|
},
|
||||||
&cli.UintFlag{
|
&cli.UintFlag{
|
||||||
Name: "retries",
|
Name: "retries",
|
||||||
|
|
Loading…
Reference in a new issue