Revision 55296
Added by Sandro La Bruzzo about 5 years ago
modules/dnet-s3-objectStore/trunk/src/main/java/eu/dnetlib/data/objectstore/s3/S3ObjectStore.java | ||
---|---|---|
165 | 165 |
start = System.currentTimeMillis(); |
166 | 166 |
mongoCollection.insertOne(metadata); |
167 | 167 |
log.debug("Total time to sav in Mongo " + (System.currentTimeMillis() - start)); |
168 |
|
|
168 |
Files.deleteIfExists(result.getRight()); |
|
169 | 169 |
} |
170 | 170 |
} catch (IOException e) { |
171 | 171 |
log.error("Error on saving file in a temporary Folder"); |
Also available in: Unified diff
resovled bug of lot of tmp file created