This is an automated email from the ASF dual-hosted git repository.

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new cf549cb  [NO ISSUE][FAIL] Drop fractional seconds when reporting 
response timeout
cf549cb is described below

commit cf549cbf1d57cd97802163b4ab9a8c9f27865413
Author: Michael Blow <[email protected]>
AuthorDate: Tue Aug 20 23:39:11 2019 -0400

    [NO ISSUE][FAIL] Drop fractional seconds when reporting response timeout
    
    Change-Id: Ia628b5607cdd69a65b4e08daf1c47ecf95b851bb
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/3527
    Sonar-Qube: Jenkins <[email protected]>
    Contrib: Jenkins <[email protected]>
    Tested-by: Jenkins <[email protected]>
    Integration-Tests: Jenkins <[email protected]>
    Reviewed-by: Murtadha Hubail <[email protected]>
---
 .../src/main/java/org/apache/asterix/messaging/CCMessageBroker.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/messaging/CCMessageBroker.java
 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/messaging/CCMessageBroker.java
index e775598..1f9ec32 100644
--- 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/messaging/CCMessageBroker.java
+++ 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/messaging/CCMessageBroker.java
@@ -112,7 +112,7 @@ public class CCMessageBroker implements ICCMessageBroker {
                         throw HyracksDataException.create(e);
                     }
                     if (System.currentTimeMillis() - time > timeout && 
pair.getLeft().getValue() > 0) {
-                        throw new 
RuntimeDataException(ErrorCode.NC_REQUEST_TIMEOUT, timeout / 1000.0);
+                        throw new 
RuntimeDataException(ErrorCode.NC_REQUEST_TIMEOUT, timeout / 1000);
                     }
                 }
             }

Reply via email to