diff options
Diffstat (limited to 'src/main/java/com/orbekk/protobuf/RpcChannel.java')
-rw-r--r-- | src/main/java/com/orbekk/protobuf/RpcChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/orbekk/protobuf/RpcChannel.java b/src/main/java/com/orbekk/protobuf/RpcChannel.java index a558228..9c52651 100644 --- a/src/main/java/com/orbekk/protobuf/RpcChannel.java +++ b/src/main/java/com/orbekk/protobuf/RpcChannel.java @@ -218,7 +218,7 @@ public class RpcChannel implements com.google.protobuf.RpcChannel { } private void addTimeoutHandler(RequestMetadata request) { - long timeout = request.rpc.getTimout(); + long timeout = request.rpc.getTimeout(); if (timeout > 0) { timer.schedule(new CancelRequestTask(request.id), timeout); } |