Skip to content
Closed
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 @@ -330,10 +330,10 @@ VRpc<ReqT, RespT> newCall(VRpcDescriptor<OpenReqT, ReqT, RespT> descriptor) {

@Override
public Status startRpc(VRpcImpl<?, ?, ?> rpc, VirtualRpcRequest payload) {
// start monitoring for heartbeat when the vrpc is started
this.nextHeartbeat = clock.instant().plus(heartbeatInterval);

synchronized (lock) {
// start monitoring for heartbeat when the vrpc is started
this.nextHeartbeat = clock.instant().plus(heartbeatInterval);
Comment thread
igorbernstein2 marked this conversation as resolved.

if (currentRpc != null) {
return Status.INTERNAL.withDescription(
"Session error: RPC multiplexing is not yet supported");
Expand Down
Loading