fixing RPs deletion

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Collector@15601 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Manuele Simi 2009-09-29 01:55:02 +00:00
parent 56f79282b6
commit 11ca4a5f4d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<environment name="registrationURI" value="http://...."
type="java.lang.String" override="false" />
<environment name="resourceExpirationTimeInMillis" value="600000"
<environment name="resourceExpirationTimeInMillis" value="240000"
type="java.lang.String" override="false" />
<environment name="deleteRPsOnStartup" value="true"

View File

@ -58,7 +58,7 @@ public class ICAggregatorRemoveCallback implements AggregatorServiceGroupEntryRe
// delete the resource from the database
try {
State.getDataManager().retrieveAndDeleteResourceFromID(res.getID());
//State.getDataManager().retrieveAndDeleteResourceFromID(res.getID());
} catch (Exception e) {
logger.error("Unable to remove resource: " + res.getID(), e);
}