usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdun...@apache.org
Subject [04/15] usergrid git commit: Update default properties that are known to work in a single and multi-region configuration.
Date Thu, 22 Oct 2015 18:29:33 GMT
Update default properties that are known to work in a single and multi-region configuration.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/4935377c
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/4935377c
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/4935377c

Branch: refs/heads/2.1-release
Commit: 4935377c8cb5be0c11ae39814a4c2d5cceb604d8
Parents: 2c1147e
Author: Michael Russo <michaelarusso@gmail.com>
Authored: Wed Oct 21 14:27:24 2015 -0700
Committer: Michael Russo <michaelarusso@gmail.com>
Committed: Wed Oct 21 14:27:24 2015 -0700

----------------------------------------------------------------------
 .../apache/usergrid/corepersistence/index/IndexProcessorFig.java   | 2 +-
 .../apache/usergrid/persistence/core/astyanax/CassandraFig.java    | 2 +-
 .../main/java/org/apache/usergrid/persistence/queue/QueueFig.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/4935377c/stack/core/src/main/java/org/apache/usergrid/corepersistence/index/IndexProcessorFig.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/index/IndexProcessorFig.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/index/IndexProcessorFig.java
index 7d022e5..5871e58 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/index/IndexProcessorFig.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/index/IndexProcessorFig.java
@@ -65,7 +65,7 @@ public interface IndexProcessorFig extends GuicyFig {
      * Received messages will remain 'in flight' until they are ack'd(deleted) or this timeout
occurs.
      * If the timeout occurs, the messages will become visible again for re-processing.
      */
-    @Default( "5000" ) // 5 seconds
+    @Default( "30000" ) // 30 seconds
     @Key( INDEX_QUEUE_VISIBILITY_TIMEOUT )
     int getIndexQueueVisibilityTimeout();
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/4935377c/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraFig.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraFig.java
b/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraFig.java
index 79c198f..c82a683 100644
--- a/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraFig.java
+++ b/stack/corepersistence/common/src/main/java/org/apache/usergrid/persistence/core/astyanax/CassandraFig.java
@@ -71,7 +71,7 @@ public interface CassandraFig extends GuicyFig {
     int getConnections();
 
     @Key( "cassandra.timeout" )
-    @Default( "5000" )
+    @Default( "10000" )
     int getTimeout();
 
     @Key("cassandra.discovery")

http://git-wip-us.apache.org/repos/asf/usergrid/blob/4935377c/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
index 6f3a3dc..ad38f6d 100644
--- a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
+++ b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/QueueFig.java
@@ -59,7 +59,7 @@ public interface QueueFig extends GuicyFig {
      * The maximum number of attempts to attempt to deliver before failing into the DLQ
      */
     @Key( "usergrid.queue.deliveryLimit" )
-    @Default("20")
+    @Default("10")
     String getQueueDeliveryLimit();
 
     @Key("usergrid.use.default.queue")


Mime
View raw message