Time bulk creator polling was updated at 5 minutes

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@83092 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-10-14 11:17:01 +00:00
parent 1fae628fad
commit 9e4745df77
2 changed files with 7 additions and 3 deletions

View File

@ -1839,10 +1839,12 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
this.selectRootItem=selectRootItem;
if(instancingMessages)
PollingWorkspace.pollReceivedMessages(-1, 20000); //the parameter -1 force (first) synchronization with HL
PollingWorkspace.pollBulkCreator(15000);
// if(instancingMessages)
// PollingWorkspace.pollReceivedMessages(-1, 20000); //the parameter -1 force (first) synchronization with HL
PollingWorkspace.pollBulkCreator(ConstantsExplorer.TIME_BULK_CREATOR_POLLING);
return this.explorerPanel;
}

View File

@ -20,6 +20,8 @@ public class ConstantsExplorer {
public static final String SERVER_ERROR = "Sorry, an error has occurred on the server when";
public static final String TRY_AGAIN = "Try again";
public static final int TIME_BULK_CREATOR_POLLING = 300*1000; //in milliseconds
//MESSAGE DIALOG BOX constants
public static final String MESSAGE_CONFIRM_DELETE_ITEM = "Are you sure you want to delete item";
public static final String MESSAGE_CONFIRM_DELETE_SMART_FOLDER = "Are you sure you want to delete smart folder";