@photon-cli/flux 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -52067,14 +52067,11 @@ var GrpcClient = class {
|
|
|
52067
52067
|
}
|
|
52068
52068
|
};
|
|
52069
52069
|
var DEFAULT_OPTIONS = {
|
|
52070
|
-
"grpc.max_receive_message_length":
|
|
52071
|
-
"grpc.max_send_message_length":
|
|
52070
|
+
"grpc.max_receive_message_length": 1e4,
|
|
52071
|
+
"grpc.max_send_message_length": 5e3,
|
|
52072
52072
|
"grpc.keepalive_time_ms": 3e4,
|
|
52073
52073
|
"grpc.keepalive_timeout_ms": 1e4,
|
|
52074
|
-
"grpc.keepalive_permit_without_calls": 1
|
|
52075
|
-
"grpc.http2.max_pings_without_data": 0,
|
|
52076
|
-
"grpc.http2.min_time_between_pings_ms": 1e4,
|
|
52077
|
-
"grpc.http2.min_ping_interval_without_data_ms": 1e4
|
|
52074
|
+
"grpc.keepalive_permit_without_calls": 1
|
|
52078
52075
|
};
|
|
52079
52076
|
async function createGrpcClient(address, grpcOptionsOrServiceImpls, ...serviceImpls) {
|
|
52080
52077
|
const isServiceImpl = grpcOptionsOrServiceImpls instanceof Object && "type" in grpcOptionsOrServiceImpls && "serviceClass" in grpcOptionsOrServiceImpls;
|