You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2015/04/24 22:22:16 UTC
incubator-usergrid git commit: remove refresh
Repository: incubator-usergrid
Updated Branches:
refs/heads/two-dot-o-dev b4d67fcb4 -> 234f873d0
remove refresh
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/234f873d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/234f873d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/234f873d
Branch: refs/heads/two-dot-o-dev
Commit: 234f873d081fbec570787b89556dbc8337baeea2
Parents: b4d67fc
Author: Shawn Feldman <sf...@apache.org>
Authored: Fri Apr 24 14:22:04 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Fri Apr 24 14:22:04 2015 -0600
----------------------------------------------------------------------
.../apache/usergrid/corepersistence/CpEntityManagerFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/234f873d/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
index f08bce4..e480c22 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
@@ -165,7 +165,7 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
em.getApplication();
}
- entityIndex.refreshAsync().toBlocking().last();
+// entityIndex.refreshAsync();
} catch (Exception ex) {
throw new RuntimeException("Fatal error creating management application", ex);
@@ -259,7 +259,7 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
EntityManager appEm = getEntityManager( applicationId);
appEm.create(applicationId, TYPE_APPLICATION, properties);
appEm.resetRoles();
- entityIndex.refreshAsync().toBlocking().last();
+ // entityIndex.refreshAsync();//.toBlocking().last();
// create application info entity in the management app