Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class ReportCommand extends RenderOptions implements Runnable{
@Override
public void run() {
if (DataUtil.isYml(input)) {
PipeOptions options = PipeOptions.parseInputArguments(this.aliasFile != null ? new String[] {this.input, "-alias", this.aliasFile.toString()} :
PipeOptions options = PipeOptions.parseInputArguments(this.aliasFile != null ? new String[] {this.input, "-aliases", this.aliasFile.toString()} :
new String[] {this.input});
CLISessionFactory sessionFactory = new CLISessionFactory(options, "");
GorSession session = sessionFactory.create();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public class ExtendedRangeWrapper extends WrappedStreamSource {
private static final Logger log = LoggerFactory.getLogger(ExtendedRangeWrapper.class);

public static final int DEFAULT_SEEK_THRESHOLD = ByteSizeConverter.parse(System.getProperty("org.gorpipe.gor.driver.extended_range_streaming.seek_threshold", "64 kb")).getBytesAsInt();
public static final int DEFAULT_MIN_RANGE = ByteSizeConverter.parse(System.getProperty("org.gorpipe.gor.driver.extended_range_streaming.min_request_size", "64 kb")).getBytesAsInt();
public static final int DEFAULT_MAX_RANGE = ByteSizeConverter.parse(System.getProperty("org.gorpipe.gor.driver.extended_range_streaming.max_request_size", "1 mb")).getBytesAsInt();
public static final int DEFAULT_MIN_RANGE = ByteSizeConverter.parse(System.getProperty("org.gorpipe.gor.driver.extended_range_streaming.min_request_size", "128 kb")).getBytesAsInt();
public static final int DEFAULT_MAX_RANGE = ByteSizeConverter.parse(System.getProperty("org.gorpipe.gor.driver.extended_range_streaming.max_request_size", "8 mb")).getBytesAsInt();

private final int seekThreshold;
private final int maxRange;
Expand Down
Loading