Skip to content

Commit

Permalink
Grpc read timeout fix (#857)
Browse files Browse the repository at this point in the history
* Fixing gRPC read timeout

* Fixing UTs
  • Loading branch information
abmodi committed Aug 17, 2022
1 parent 96cdbc8 commit db12a53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class GoogleHadoopFileSystemConfigurationTest {
put("fs.gs.grpc.checksums.enable", false);
put("fs.gs.grpc.enable", false);
put("fs.gs.grpc.checkinterval.timeout.ms", 1_000L);
put("fs.gs.grpc.read.timeout.ms", 30_000L);
put("fs.gs.grpc.read.timeout.ms", 3600_000L);
put("fs.gs.grpc.read.message.timeout.ms", 3_000L);
put("fs.gs.grpc.read.zerocopy.enable", true);
put("fs.gs.grpc.directpath.enable", true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public enum Fadvise {
public static final Fadvise DEFAULT_FADVISE = Fadvise.AUTO;
public static final long DEFAULT_MIN_RANGE_REQUEST_SIZE = 2 * 1024 * 1024;
public static final boolean DEFAULT_GRPC_CHECKSUMS_ENABLED = false;
public static final long DEFAULT_GRPC_READ_TIMEOUT_MILLIS = 30 * 1000;
public static final long DEFAULT_GRPC_READ_TIMEOUT_MILLIS = 3600 * 1000;
public static final boolean DEFAULT_GRPC_READ_ZEROCOPY_ENABLED = true;
public static final long DEFAULT_GRPC_READ_MESSAGE_TIMEOUT_MILLIS = 3 * 1000;

Expand Down

0 comments on commit db12a53

Please sign in to comment.