Skip to content

Commit

Permalink
Disable more
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Oct 31, 2024
1 parent f95b3c2 commit 108e540
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions common/aws/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,41 +76,41 @@ func ClientFlags(envPrefix string, flagPrefix string) []cli.Flag {
Value: "",
EnvVar: common.PrefixEnvVar(envPrefix, "AWS_ENDPOINT_URL"),
},
cli.IntFlag{
Name: common.PrefixFlag(flagPrefix, FragmentParallelismFactorFlagName),
Usage: "The number of characters of the key to use as the prefix for fragmented files",
Required: false,
Value: 3,
EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PREFIX_CHARS"),
},
cli.IntFlag{
Name: common.PrefixFlag(flagPrefix, FragmentParallelismFactorFlagName),
Usage: "Add this many threads times the number of cores to the worker pool",
Required: false,
Value: 8,
EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PARALLELISM_FACTOR"),
},
cli.IntFlag{
Name: common.PrefixFlag(flagPrefix, FragmentParallelismConstantFlagName),
Usage: "Add this many threads to the worker pool",
Required: false,
Value: 0,
EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PARALLELISM_CONSTANT"),
},
cli.DurationFlag{
Name: common.PrefixFlag(flagPrefix, FragmentReadTimeoutFlagName),
Usage: "The maximum time to wait for a single fragmented read",
Required: false,
Value: 30 * time.Second,
EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_READ_TIMEOUT"),
},
cli.DurationFlag{
Name: common.PrefixFlag(flagPrefix, FragmentWriteTimeoutFlagName),
Usage: "The maximum time to wait for a single fragmented write",
Required: false,
Value: 30 * time.Second,
EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_WRITE_TIMEOUT"),
},
//cli.IntFlag{
// Name: common.PrefixFlag(flagPrefix, FragmentParallelismFactorFlagName),
// Usage: "The number of characters of the key to use as the prefix for fragmented files",
// Required: false,
// Value: 3,
// EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PREFIX_CHARS"),
//},
//cli.IntFlag{
// Name: common.PrefixFlag(flagPrefix, FragmentParallelismFactorFlagName),
// Usage: "Add this many threads times the number of cores to the worker pool",
// Required: false,
// Value: 8,
// EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PARALLELISM_FACTOR"),
//},
//cli.IntFlag{
// Name: common.PrefixFlag(flagPrefix, FragmentParallelismConstantFlagName),
// Usage: "Add this many threads to the worker pool",
// Required: false,
// Value: 0,
// EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_PARALLELISM_CONSTANT"),
//},
//cli.DurationFlag{
// Name: common.PrefixFlag(flagPrefix, FragmentReadTimeoutFlagName),
// Usage: "The maximum time to wait for a single fragmented read",
// Required: false,
// Value: 30 * time.Second,
// EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_READ_TIMEOUT"),
//},
//cli.DurationFlag{
// Name: common.PrefixFlag(flagPrefix, FragmentWriteTimeoutFlagName),
// Usage: "The maximum time to wait for a single fragmented write",
// Required: false,
// Value: 30 * time.Second,
// EnvVar: common.PrefixEnvVar(envPrefix, "FRAGMENT_WRITE_TIMEOUT"),
//},
}
}

Expand Down

0 comments on commit 108e540

Please sign in to comment.