Skip to content

Commit f794b77

Browse files
committed
Address review comments
1 parent c3e9fbe commit f794b77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/keepalive/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ node server.js
1212
## Start the client
1313

1414
```
15-
GRPC_TRACE=transport,keepalive GRPC_VERBOSITY=DEBUG client.js
15+
GRPC_TRACE=transport,keepalive GRPC_VERBOSITY=DEBUG node client.js
1616
```

examples/keepalive/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const packageDefinition = protoLoader.loadSync(
3333
const echoProto = grpc.loadPackageDefinition(packageDefinition).grpc.examples.echo;
3434

3535
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
3737
'grpc.keepalive_time_ms': 10_000,
3838
// Wait 1 second for the ping ack before assuming the connection is dead
3939
'grpc.keepalive_timeout_ms': 1_000,

0 commit comments

Comments
 (0)