Revision 52356
Added by Alessia Bardi almost 6 years ago
OAIController.java | ||
---|---|---|
235 | 235 |
} |
236 | 236 |
|
237 | 237 |
ListRecordsInfo infos; |
238 |
|
|
238 |
long start = System.currentTimeMillis(); |
|
239 | 239 |
if (StringUtils.isBlank(resumptionToken)) { |
240 | 240 |
infos = core.listRecords(onlyIdentifiers, metadataPrefix, set, from, until); |
241 | 241 |
} else { |
... | ... | |
243 | 243 |
} |
244 | 244 |
|
245 | 245 |
map.addAttribute("info", infos); |
246 |
long end = System.currentTimeMillis(); |
|
247 |
log.debug("Populated map for client in (ms): " + (end - start)); |
|
246 | 248 |
|
247 | 249 |
if (verb == OAI_VERBS.LIST_RECORDS) return "oai/OAI_ListRecords"; |
248 | 250 |
|
Also available in: Unified diff
Additional logs to confirm we can and must improve how the result list is prepared and returned to the caller