You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/08/22 16:16:03 UTC

[67/95] [abbrv] git commit: changing limit to 2000

changing limit to 2000


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

Branch: refs/heads/import-feature
Commit: e8775286b2682449d7940d485bca7e6e06f09717
Parents: 41ccf5b
Author: Harish Rajagopal <hr...@apigee.com>
Authored: Tue Jul 29 19:48:09 2014 -0700
Committer: Harish Rajagopal <hr...@apigee.com>
Committed: Tue Jul 29 19:48:09 2014 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/management/importUG/ImportServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e8775286/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java b/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
index d1d2216..1cfd7ba 100644
--- a/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
+++ b/stack/services/src/main/java/org/apache/usergrid/management/importUG/ImportServiceImpl.java
@@ -625,7 +625,7 @@ public class ImportServiceImpl implements ImportService {
         // update the last updated entity
         if(entity != null) {
             entityCount++;
-            if(entityCount == 1000) {
+            if(entityCount == 2000) {
                 ((Map<String, Object>) fileNames.get(index)).put("lastUpdatedUUID", entityUuid);
                 rootEm.update(importUG);
                 entityCount = 0;