db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r769606 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
Date Wed, 29 Apr 2009 00:56:30 GMT
Author: dag
Date: Wed Apr 29 00:56:30 2009
New Revision: 769606

URL: http://svn.apache.org/viewvc?rev=769606&view=rev
Log:
DERBY-4185 Make timeout settable or increase default for one replication message layer protocol.

Increase timeout for accepting reply from slave when initializing
replication or stopping replication/failing over from 5 to 30 seconds
for actions to work more reliably under load. We chose not to make
this a user knob for now.


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java?rev=769606&r1=769605&r2=769606&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
Wed Apr 29 00:56:30 2009
@@ -43,7 +43,7 @@
     
     /** Number of millis to wait for a response message before timing out
      */
-    private final int DEFAULT_MESSAGE_RESPONSE_TIMEOUT = 5000;
+    private final int DEFAULT_MESSAGE_RESPONSE_TIMEOUT = 30000;
 
     /** The thread that listens for messages from the slave */
     private Thread msgReceiver = null;



Mime
View raw message