Project

General

Profile

« Previous | Next » 

Revision 50809

when virtuoso is tired it is better to sleep

View differences:

modules/dnet-parthenos/trunk/src/main/java/eu/dnetlib/parthenos/workflows/nodes/VirtuosoParthenosIterator.java
82 82
					try {
83 83
						subjectList = restTemplate.getForObject(builder.build(), listForClass.getClass());
84 84
					}catch(RestClientException rce){
85
						log.warn("Skipping subjects from "+graph);
85
						log.warn("Skipping subjects from "+graph+" and sleeping for a while...");
86 86
						log.warn(rce.getMessage());
87
						Thread.sleep(SLEEP_MS);
87 88
					}
88 89
					for (String subject : subjectList) {
89 90
						//Note: we skip no http resources based on FORTH feedback: URLs are created only for "relevant" stuff

Also available in: Unified diff