File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ node server.js
12
12
## Start the client
13
13
14
14
```
15
- GRPC_TRACE=transport,keepalive GRPC_VERBOSITY=DEBUG client.js
15
+ GRPC_TRACE=transport,keepalive GRPC_VERBOSITY=DEBUG node client.js
16
16
```
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const packageDefinition = protoLoader.loadSync(
33
33
const echoProto = grpc . loadPackageDefinition ( packageDefinition ) . grpc . examples . echo ;
34
34
35
35
const keepaliveOptions = {
36
- // Ping the client every 10 seconds to ensure the connection is still active
36
+ // Ping the server every 10 seconds to ensure the connection is still active
37
37
'grpc.keepalive_time_ms' : 10_000 ,
38
38
// Wait 1 second for the ping ack before assuming the connection is dead
39
39
'grpc.keepalive_timeout_ms' : 1_000 ,
You can’t perform that action at this time.
0 commit comments