camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1074801 - /camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java
Date Sat, 26 Feb 2011 08:11:04 GMT
Author: davsclaus
Date: Sat Feb 26 08:11:04 2011
New Revision: 1074801

URL: http://svn.apache.org/viewvc?rev=1074801&view=rev
Log:
CAMEL-3720: Disable optimize concurrent gets. Thanks to Dan for the patch.

Modified:
    camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java

Modified: camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java?rev=1074801&r1=1074800&r2=1074801&view=diff
==============================================================================
--- camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java
(original)
+++ camel/trunk/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/KestrelComponent.java
Sat Feb 26 08:11:04 2011
@@ -64,6 +64,8 @@ public class KestrelComponent extends De
         super.doStart();
 
         ConnectionFactoryBuilder builder = new ConnectionFactoryBuilder();
+        // VERY IMPORTANT! Otherwise, spymemcached optimizes away concurrent gets
+        builder.setShouldOptimize(false);
         // We never want spymemcached to time out
         builder.setOpTimeout(9999999);
         // Retry upon failure



Mime
View raw message