usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject usergrid git commit: Update the initial capacity of queue attributes hash map.
Date Fri, 16 Oct 2015 15:53:10 GMT
Repository: usergrid
Updated Branches:
  refs/heads/update-visi-timeout 2b22c610d -> c75117c79


Update the initial capacity of queue attributes hash map.


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

Branch: refs/heads/update-visi-timeout
Commit: c75117c79706e96191f0bcadad9c990ecc22c29e
Parents: 2b22c61
Author: Michael Russo <michaelarusso@gmail.com>
Authored: Thu Oct 15 19:56:35 2015 -0700
Committer: Michael Russo <michaelarusso@gmail.com>
Committed: Thu Oct 15 19:56:35 2015 -0700

----------------------------------------------------------------------
 .../usergrid/persistence/queue/util/AmazonNotificationUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/c75117c7/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/util/AmazonNotificationUtils.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/util/AmazonNotificationUtils.java
b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/util/AmazonNotificationUtils.java
index d57870d..993ac13 100644
--- a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/util/AmazonNotificationUtils.java
+++ b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/util/AmazonNotificationUtils.java
@@ -63,7 +63,7 @@ public class AmazonNotificationUtils {
 
         final String visibilityTimeoutInSeconds = String.valueOf(Math.max(1, fig.getVisibilityTimeout()
/ 1000));
 
-        final Map<String, String> queueAttributes = new HashMap<>( 2 );
+        final Map<String, String> queueAttributes = new HashMap<>( 3 );
         queueAttributes.put( "MessageRetentionPeriod", fig.getRetentionPeriod() );
         queueAttributes.put( "RedrivePolicy", redrivePolicy );
         queueAttributes.put( "VisibilityTimeout", visibilityTimeoutInSeconds );


Mime
View raw message