Project

General

Profile

« Previous | Next » 

Revision 42081

New job parameter to set the sleep time between two subsequent GET request for file download (sleepTimeMs) from the same thread.

View differences:

DownloadServiceImpl.java
69 69
		log.info(String.format("download using plugin '%s' , protocol '%s' into ObjectStore '%s'", plugin, protocol, objectStoreID));
70 70
		try {
71 71
			downloadfeeder.download(resultSet.toString(), plugin, objectStoreID, protocol, mimeType, 5, null, null, DEFAULT_CONNECT_TIMEOUT_MS,
72
					DEFAULT_READ_TIMEOUT_MS);
72
					DEFAULT_READ_TIMEOUT_MS, 0);
73 73
		} catch (ObjectStoreServiceException e) {
74 74
			log.error(e);
75 75
		}

Also available in: Unified diff