reduced the number of posts per VRE into home social to 30, and 6 per VRE
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@139752 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
78b1b41d95
commit
40192a472d
|
@ -5,6 +5,9 @@
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
|
<dependent-module archiveName="gcube-widgets-2.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/gcube-widgets/gcube-widgets">
|
||||||
|
<dependency-type>uses</dependency-type>
|
||||||
|
</dependent-module>
|
||||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||||
<property name="context-root" value="news-feed"/>
|
<property name="context-root" value="news-feed"/>
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<Changeset component="org.gcube.portlets-user.news-feed.2-2-0"
|
<Changeset component="org.gcube.portlets-user.news-feed.2-2-0"
|
||||||
date="2016-12-02">
|
date="2016-12-02">
|
||||||
<Change>removed asl session</Change>
|
<Change>removed asl session</Change>
|
||||||
|
<Change>Increased general performance and bugfixes</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.news-feed.2-1-0"
|
<Changeset component="org.gcube.portlets-user.news-feed.2-1-0"
|
||||||
date="2016-10-29">
|
date="2016-10-29">
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
|
||||||
*/
|
*/
|
||||||
private ElasticSearchClientInterface escl;
|
private ElasticSearchClientInterface escl;
|
||||||
|
|
||||||
private final static int MAX_FEEDS_NO = 45;
|
private final static int MAX_FEEDS_NO = 30;
|
||||||
|
|
||||||
public void init() {
|
public void init() {
|
||||||
store = new DBCassandraAstyanaxImpl();
|
store = new DBCassandraAstyanaxImpl();
|
||||||
|
|
|
@ -4,7 +4,7 @@ public class NewsConstants {
|
||||||
/**
|
/**
|
||||||
* Feeds Number to who per VRE/Category
|
* Feeds Number to who per VRE/Category
|
||||||
*/
|
*/
|
||||||
public static final int FEEDS_NO_PER_CATEGORY = 10;
|
public static final int FEEDS_NO_PER_CATEGORY = 6;
|
||||||
|
|
||||||
public static final int FEEDS_MAX_PER_CATEGORY = 30;
|
public static final int FEEDS_MAX_PER_CATEGORY = 30;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue